Saturday, April 26, 2014

kill

  •   kill command examples


Use kill command to terminate a process. First get the process id using ps -ef command, then use kill -9 to kill the running Linux process as shown below. You can also use killall, pkill, xkill to terminate a unix process.
$ ps -ef | grep vim
linuxcare    7243  7222  9 22:43 pts/2    00:00:00 vim
$ kill -9 7243
 

More kill examples: Kill-Chill-bill - 4 Ways to Kill a Process




0 comments:

Post a Comment