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