Mac OS: Kill an App with Terminal

You can quit applications by using the Force Quit menu (⌘⌥ESC) but sometimes we need to quite a background application or the application on a remote machine. In Terminal we can do this using the top and kill commands.

Open Terminal


Type “top” and press return

Find the PID of the process to kill

If you can’t find the process try “top -o cpu -s 5” instead


Open a second Terminal window (⌘N)

Type “sudo kill [PID]”


Leave a Reply

Your email address will not be published. Required fields are marked *