How to kill a process

Asked by Tod Anderson on 2012-08-21

Here is a question: Say Google Chrome freezes and I want to kill/stop process with a keycombo instead of going through system monitor. Is there a way to do that?

If there is, is there a way to do it with a selected window?
Example: Chrome and Word are open. Chrome is on top and selected. I push key combo and chrome's process ends. I select Word window and do the same key combo and the Word process ends.

Question information

English Edit question
Ubuntu gnome-terminal Edit question
No assignee Edit question
Last query:
Last reply:

Hi Tod,

you can use your terminal to stop some process. Let's see if we want to stop Chrome you need to run this commands in terminal (CTRL+ALT+T):
- pidof chrome (output of terminal should return you some numbers)
- kill <numbers> (instead of <numbers> you should put number from the upper command which you run just before and app should exit)

If that helps you solve your question, please mark thread as solved.


You can also press ALT+F2 and run:


and click on the app you want to end. You can use compiz commands to make your own shortcuts to run commands. If you are having to kill apps a lot I'd suspect bad settings or faulty hardware (RAM especially)

'killall chrome'
(with program name instead of pid)


killall chromium-browser

If you use the open source version.

Can you help with this problem?

Provide an answer of your own, or ask Tod Anderson for more information if necessary.

To post a message you must log in.