3 ms·
> ps aux | grep bin_name | grep -v grep | awk ... | xargs kill -9 I know this isn't the point of the story, but, friendly reminder to everyone about the existe
by mappu 13y ago
> ps aux | grep bin_name | grep -v grep | awk ... | xargs kill -9
I know this isn't the point of the story, but, friendly reminder to everyone about the existence of `killall`
- rachelbythebay 13y agoPlease don't assume this will work on all Unixes. killall... sometimes... really kills all.
- kerneis 13y agoContrary to pgrep and pkill, which do the right thing everywhere (as far as I know).