ps aux

📌 Purpose:

View running processes on the system.

✅ Usage Examples:


ps aux


ps aux | grep apache


🔪 kill

📌 Purpose:

Terminate (kill) a process using its PID (process ID).

✅ Usage Examples:

bash
CopyEdit
kill <PID>

kill -9 <PID>

killall firefox