Close ad

How to close applications in Terminal on Mac? Surely you have ever experienced that one of the running applications on your Mac has become stuck, unresponsive, and impossible to exit in the usual way. In such cases, the so-called forced termination of the application comes into play.

There are several ways to force quit an app on your Mac. In today's article, we will show you a method in which you will use the native Terminal on your Mac and its command line. Thanks to the right commands, you will certainly be able to handle even the most stubborn applications with ease.

How to quit an app in Terminal on Mac

If you want to close an application in Terminal on Mac, follow the instructions below.

  • Remember the name of the striking application - keep in mind that you will need to type its exact wording into the Terminal, including correct capitalization.
  • Ve Finder -> Applications -> Utilities, possibly via Spotlight run Terminal.
  • Enter the command in the command line ps aux |grepNameApplication.
  • Once the Terminal displays details about the running application, type killall ApplicationName into its command line.

Always be careful when using the killall command in Terminal on a Mac. Make sure that you are actually exiting the application that you want to exit. If possible, prefer easier ways to end the application, and turn to the Terminal when there is no other option.

.