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




Related Posts:

  • cd cd command examples Use “cd -” to toggle between the last two directories Use “shopt -s cdspell” to automatically correct mistyped directory names on cd Normal 0 false false false EN-IN… Read More
  • Linux File System v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} The term filesystem has two somewhat different meanings, both … Read More
  • RHEL 6 Installation step by step (Linux) For installation of RHEL 6 (Redhat Enterprise Linux), first you need to insert bootable DVD or CD of rhel 6 32bit or 62bit (depending upon system configuration) and then reboot your system. After reboot, your sy… Read More
  • awk v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} awk command examples  Remove duplicate lines using awk… Read More
  • bzip2 bzip2 command examples To create a *.bz2 compressed file:   $ bzip2 test.txt To uncompress a *.bz2 file: bzip2 -d test.txt.bz2 Normal 0 false false false … Read More

0 comments:

Post a Comment