On Wed, Jul 11, 2001 at 01:35:35AM -0700, larry a price wrote:
> On Tue, 10 Jul 2001, Patrick R. Wade wrote:
> >
> > !!:gs/'/`/ && slay -HUP `ps -f -C false | awk '{print $1}'`
> >
> Ok, i'll bite:
>
> i know that slay is some fancy version of kill that's not a default linux
> prog, and the !! replays the last command, :gs/'/`/ substitutes ` for ' in
> that command and the `ps ...` bit prints the username of anyone currently
> running false; blamed if i can figure out what it's for.
>
The first part corrects what you wrote -> s/'/`/. The second part gets
rid of people who may be necessary, but should never come around, like
lawyers ;>. (hint: /etc/passwd)
And you both need an 'h' for ps or neither will do anything but error out
immediately. kill 'PID' ? slay 'UID' ? Those aren't #'s.
<[EMAIL PROTECTED]>