awk!  that was terrible!  never pull that ssh-it again!

> -----Original Message-----
> From: Ralph Zeller [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 9:00 AM
> To:   [EMAIL PROTECTED]
> Subject:      [EUG-LUG:1540] Re: bofh's weird oneliner
> 
> OK guys, enough with the lawyer bash-ing.
> 
> At 02:31 AM 7/11/2001 -0700, Jacob Meuser <[EMAIL PROTECTED]> wrote:
> >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]>
> >

Reply via email to