Linux commands: Difference between revisions
Jump to navigation
Jump to search
m
→= Kill the process
| Line 269: | Line 269: | ||
# keyin {{kbd | key=q}} to leave the process list | # keyin {{kbd | key=q}} to leave the process list | ||
=== Kill the process == | === Kill the process === | ||
Find which process to be killed. And then keyin the process ID (PID): | Find which process to be killed. And then keyin the process ID (PID): | ||
* {{kbd | key=kill <PID>}} or {{kbd | key=kill -<PID> PID}}. To kill the process with PID number: 101, enter {{kbd | key=kill 101}}. <ref>[http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/ Kill Process in Linux or Terminate a Process in UNIX / Linux Systems], [https://linux.die.net/man/1/kill kill(1): terminate process - Linux man page]</ref> | * {{kbd | key=kill <PID>}} or {{kbd | key=kill -<PID> PID}}. To kill the process with PID number: 101, enter {{kbd | key=kill 101}}. <ref>[http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/ Kill Process in Linux or Terminate a Process in UNIX / Linux Systems], [https://linux.die.net/man/1/kill kill(1): terminate process - Linux man page]</ref> | ||