ps auxView running processes on the system.
ps aux
ps aux | grep apache
apache.killTerminate (kill) a process using its PID (process ID).
bash
CopyEdit
kill <PID>
SIGTERM (15) to gracefully stop the process.kill -9 <PID>
SIGKILL (9) if the process doesn’t stop.killall firefox
firefox.