Skip to content

Instantly share code, notes, and snippets.

@gogsbread
Last active December 10, 2015 02:48
Show Gist options
  • Save gogsbread/4369905 to your computer and use it in GitHub Desktop.
Save gogsbread/4369905 to your computer and use it in GitHub Desktop.
How to stop application in your menubar on OsX(Mac)?
#If you find an annoying application that started during boot-up but you wanted to stop it thru console, use the following commands
#Note: The applications that appears in your menubar are mostly daemons(background processes) and hence our objective is to stop this daemon.
launchctl list
# This command will use launchctl(your interface to launchd, daemon\service manager for Osx) and lists all the current daemons running in your computer.
# The output will display 3 columns of information PID, status and Label.
# Search for the Label of the job\daemon\aplication that you wanted to kill.
launchctl stop <label>
# where <label> is the name of the label for your process. Using this command will stop and quit the application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment