Business CircleBusiness Circle
  • Home
  • AI News
  • Startups
  • Markets
  • Finances
  • Technology
  • More
    • Human Resource
    • Marketing & Sales
    • SMEs
    • Lifestyle
    • Trading & Stock Market
What's Hot

Russia will not disclose data on its crude export to India: Kremlin

March 7, 2026

While Everyone Panics, Traders Profit

March 7, 2026

Top Solutions By Use Cases

March 7, 2026
Facebook Twitter Instagram
Saturday, March 7
  • Advertise with us
  • Submit Articles
  • About us
  • Contact us
Business CircleBusiness Circle
  • Home
  • AI News
  • Startups
  • Markets
  • Finances
  • Technology
  • More
    • Human Resource
    • Marketing & Sales
    • SMEs
    • Lifestyle
    • Trading & Stock Market
Subscribe
Business CircleBusiness Circle
Home » How to close apps in MacOS from the command line
Technology

How to close apps in MacOS from the command line

Business Circle TeamBy Business Circle TeamJanuary 18, 2024Updated:August 21, 2025No Comments4 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
How to close apps in MacOS from the command line
Share
Facebook Twitter LinkedIn Pinterest Email


The MacBook Pro on top of a table.

June Wan/ZDNET

It is a uncommon event that I discover a MacOS app goes awry, but it surely does occur. When an app stops responding on the MacOS desktop, there is a user-friendly GUI instrument that may enable you. Go to the Apple menu, click on Pressure Stop, discover the app in query, and Pressure Stop.

Nevertheless, that trick would not at all times work. On a number of events, I’ve found the Pressure Stop app refuses to do the job. When that occurs, most individuals would in all probability flip to the restart possibility.

Additionally: How you can optimize storage in your MacOS gadget

However do not try this — there’s a greater method. As a result of MacOS may be very a lot grounded in Linux, you have got the facility of the command line at your fingertips. That energy offers you the last word management over these apps, such that you would be able to ship them packing with impunity.

There’s two instructions that I will present you easy methods to use. Upon getting the cling of those two instructions, you will by no means run into an app that you just can’t shut — regardless of how cussed it’s.

Let’s get to it.

Finding the app title

What you will want: The one factor you will want for this activity is a laptop computer or desktop operating MacOS. It would not matter which, nor does it matter which model of the OS you might be utilizing. I might, nonetheless, suggest you replace MacOS to the newest model supported by your {hardware} and maintain it updated always. 

Additionally: How you can replace each Apple gadget

With that public service announcement out of the best way, let’s get to the app-closing trick.

The very first thing to do is click on the Launchpad icon in your dock, find the icon for the Terminal app, and click on it.

That is the tough half. We now have to search out the title of the app we need to shut. I typically have points with Apple Mail, so let’s use that app as our instance. 

Additionally: How you can rapidly repair Apple Mail when it isn’t working

Take into account that Linux instructions are case-sensitive, so we’re not in search of mail, we’re in search of Mail. What we’ll do is use two Linux instructions, ps and grep, to record all cases of operating apps that embrace the phrase Mail. The command for this activity is:

For many who need to know, here is the breakdown of the command:

  • ps — reviews a snapshot of a present course of
  • aux — are ps choices for all processes related to a person ID, and use the default format for output
  • | — that is the pipe that sends the output of the primary command to the following command
  • grep — print strains that match a sample
  • Mail — the sample used for grep to match

The output of the command ought to embrace one thing like this:

jackwallen 20722 0.0 2.3 415470192 378896 ?? S Thur09PM 21:07.22 /System/Functions/Mail.app/Contents/MacOS/Mail

From that itemizing, we now know the app is, the truth is, operating beneath the title Mail. We will use that title to kill the appliance. The explanation why we need to confirm this title is to not solely guarantee we’ve got the proper title, however to verify we do not by chance kill an app we want operating which may have an identical title.

We’re now going to kill the Apple Mail utility with the killall command, which is finished with:

It is best to now discover that Apple Mail has been compelled closed, even when the Pressure Stop app didn’t work.

A phrase of warning

Solely use this course of if you find yourself sure the Pressure Stop app is not going to work and when the title of the app you need to kill. Do not go randomly utilizing the killall command on something that is operating since you may trigger issues along with your OS or lose knowledge. Use killall properly and it’ll function a serving to hand earlier than it’s a must to flip to rebooting.





Source link

apps Close command Line macOS
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Business Circle Team
Business Circle Team
  • Website

Related Posts

Save $50 on the Bose QuietComfort Ultra 2nd Gen (act quickly!)

March 7, 2026

The best microSD Express cards for the Switch 2

March 7, 2026

Rad Power Bikes gets a new owner, pledge to build bikes in the US

March 6, 2026

Anthropic to challenge DOD’s supply-chain label in court

March 6, 2026
LATEST UPDATES

Russia will not disclose data on its crude export to India: Kremlin

March 7, 2026

While Everyone Panics, Traders Profit

March 7, 2026

Top Solutions By Use Cases

March 7, 2026

Novig Raises $75M to Replace the Traditional Sportsbook with a Peer-to-Peer Exchange – AlleyWatch

March 7, 2026

Save $50 on the Bose QuietComfort Ultra 2nd Gen (act quickly!)

March 7, 2026

Falling Mortgage Rates Could Make It Harder to Find Cash Flowing Properties—But Here’s How Investors Can Find Them Anyway

March 7, 2026

Subscribe to Updates

Get the latest sports news from SportsSite about soccer, football and tennis.

Business, Finance and Market Growth News Site

Important Pages
  • Advertise with us
  • Submit Articles
  • About us
  • Contact us
Recent Posts
  • Russia will not disclose data on its crude export to India: Kremlin
  • While Everyone Panics, Traders Profit
  • Top Solutions By Use Cases
© 2026 BusinessCircle.co
  • Privacy Policy
  • Terms and Conditions
  • Cookie Privacy Policy
  • Disclaimer
  • DMCA

Type above and press Enter to search. Press Esc to cancel.