본문 바로가기

카테고리 없음

how to kill a process in linux

top # Locating the process with the top command


ps aux # Locating the process with ps and grep commands


pidof nginx # Finding the PID with pidof and pgrep


killall # Killing processes with the killall command


killall -9 firefox 


pkill apache # Killing processes with the pkill command


kill 1234 # Killing processes with the kill command

 

참고

(https://www.booleanworld.com/kill-process-linux/)