When a program crashes or hangs, you can forcefully terminate it using its Process ID (PID).
Killing a Process
- Find the PID by running
toporps aux | grep processname. - Type
kill -9 [PID](e.g.,kill -9 1234) and press Enter. - The process will immediately terminate.