Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

Whoa --- pkill

I wrote a little script to search the command line arguments in the process table and send a signal to the matching ones.

I named it 'pkill'.

I went to use it on my local dev machine and it doesn't work.

$ which pkill
/usr/bin/pkill

WTF? (was expecting /home/lj/bin/pkill)

$ man pkill

Whoa--- same purpose as my program, but does a ton more. "introduced in Sun's Solaris 7". Bad-ass.

Bizarre though that both I didn't know about this program and I wrote my own, and then named it the same thing!
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 6 comments