nix, shell, perl, php, mysql and mac os x tips and tricks

Wednesday, July 16, 2008

command to kill a process by name

kill `ps -axwwwww | grep MyAPP | grep -v grep | awk '{print $1}'`

No comments:

Post a Comment