Skip to content

Instantly share code, notes, and snippets.

@mLuby
Created September 2, 2016 21:03
Show Gist options
  • Save mLuby/3ad7a8eb1a54cc87d57b27263155dbf1 to your computer and use it in GitHub Desktop.
Save mLuby/3ad7a8eb1a54cc87d57b27263155dbf1 to your computer and use it in GitHub Desktop.
kill a process by name
# where process has name thing1...
ps aux | grep [t]hing1 | awk '{print $2}' | xargs kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment