Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are all the ways to kill a buggy GUI app?

I can't right-click on its icon in the whatever-its-called bar, or use the top-of-window menu. The app does not respond to anything, and does nothing but eat more and more memory as times goes on.

In Linux, there's xkill. Is there something similar on OSX?

share|improve this question
up vote 24 down vote accepted

You can access the Force Quit dialog box by pressing ++esc, or using the Apple Menu (top left corner of the screen) and choosing Force Quit.... Select the problem app, and click the Force Quit button.

enter image description here

You can also kill an app using the command line (/Applications/Utilities/Terminal):

killall 'Google Chrome'

You can also use the Activity Monitor app (/Applications/Utilities). Select an app and click the Quit button: enter image description here Then, from the dialog that slides down, click Force Quit.

share|improve this answer
Very comprehensive :) – stuffe Aug 16 '11 at 22:01
Holding ⌥⇧⌘⎋ for a few seconds also quits the frontmost application. – user495470 Aug 17 '11 at 22:29
@Lri Hey, I didn't now abou that one! Cool! – Nathan Greenstein Aug 17 '11 at 22:37
@Lri Very cool! I will have to keep that one in mind. – daviesgeek Aug 17 '11 at 22:47

All the ways? There's always another way :-)

Sometimes + will get focus away from the app so you can talk to the Dock or Finder.

++esc should bring up the Force Quit dialog box.

If you have/can get to a Terminal window, there's the kill command.

If you have another machine and have enabled remote login, you can ssh in to your machine and issue a kill even if the GUI won't respond at all (and if kill doesn't work there's always sudo reboot as a last resort).

share|improve this answer

The "kill" command also exists in OS X (check out "man kill"); you can also kill an app using a couple of GUI-based tools:

  1. press ++esc. That brings up a "force quit" menu
  2. launch the Activity Monitor application. You can also force-quit an app from there.
share|improve this answer
The salient feature of xkill is that it will kill the owner of a window in X. I do wish there were such an interface in OS X. – kojiro Apr 10 '14 at 18:27

You also have the option of -right-clicking the icon in the dock, which (after a few seconds, likely) will pop up and have a 'Force Quit' option, which you can use to kill an app.

share|improve this answer

Another way from the Terminal:

ps auxww | grep -i 'google chrome' | grep -v grep | awk '{ print $2 }' | xargs kill

Or to force kill:

ps auxww | grep -i 'google chrome' | grep -v grep | awk '{ print $2 }' | xargs kill -9 

This can be helpful if the screen isn't responding or you get Spinning Wheel of Death, but are able to somehow get to the terminal (e.g.: via SSH)

share|improve this answer


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.