Skip to content

Instantly share code, notes, and snippets.

@jamiembrown
Created January 24, 2014 17:16
Show Gist options
  • Save jamiembrown/8601776 to your computer and use it in GitHub Desktop.
Save jamiembrown/8601776 to your computer and use it in GitHub Desktop.
Bash function to emulate Linux pkill on Mac OS
function pkill {
osascript -e 'tell application "'$1'" to quit saving no'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment