Net And Sys
| Grep and Kill on Ubuntu |
|
|
|
| Written by Marc |
| Thursday, 21 January 2010 00:00 |
|
Let say you want to kill a process like Firefox but you want to do it in one simple line. It means you have to grep for the process PID and then Kill the process in question: --- $sudo kill -TERM `pgrep firefox | awk '{print $1}'` --- |
| Last Updated on Thursday, 21 January 2010 20:30 |


