Re: [newbie] handy kill

2005-02-27 Thread Mikkel L. Ellertson
riccardo wrote: On Wednesday 23 February 2005 07:11 pm, Mikkel L. Ellertson wrote: difference between doing this script, and using the killall command? ___ ~ have been doing some [EMAIL PROTECTED] . . . before doing a backup this morning, i gave root command : killall Fah

[newbie] handy kill

2005-02-23 Thread riccardo
on SuSE list, noticed a tiny bash script which is handy :- ... #!/bin/sh # # kill process/program # while true do kill -9 `ps aux | grep -i $1 | awk '{ print $2 }'` sleep 2 done ... remember +x - it needs chmod +x to make script executable.

Re: [newbie] handy kill

2005-02-23 Thread Mikkel L. Ellertson
riccardo wrote: on SuSE list, noticed a tiny bash script which is handy :- ... #!/bin/sh # # kill process/program # while true do kill -9 `ps aux | grep -i $1 | awk '{ print $2 }'` sleep 2 done ... remember +x - it needs chmod +x to make script

Re: [newbie] handy kill

2005-02-23 Thread riccardo
On Wednesday 23 February 2005 07:11 pm, Mikkel L. Ellertson wrote: defference between doing this script, and using the killall command? ~ a glance at man killall suggests that killall is the cadillac of killing :)) best rgds __