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!
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!