![]() |
| ||
| killing PIDs from a file What is the best way to kill a number of PIDs that I've isolated from an external file? So far I've done grep PID badPids | awk {'print$2}' to get the list of bad PIDS to kill. I've searched through the man pages to no avail and I need to be able to do it from the terminal line, not a script file. I know that kill -k will do it, but I'm not sure on how to pass the list to kill. Thanks. |
| ||
| Re: killing PIDs from a file awk '{ system("kill " $2) }' |
| ||
| Re: killing PIDs from a file Thanks! That did it... |
| All times are GMT -4. The time now is 11:46 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC