Skip to content

kill

Kills a process.

Terminal window
kill [PID/ALL]
  • PID — specify the programs process ID (PID) you want to close. You can use the ps command to show all running processes
  • ALL — close all running programs
Terminal window
kill 2050

Result:
The program with process ID 2050 has been closed.