Skip to content

Instantly share code, notes, and snippets.

@eduardo-matos
Created September 1, 2014 23:11
Show Gist options
  • Save eduardo-matos/40efb3e4ce4d4e3f7ba7 to your computer and use it in GitHub Desktop.
Save eduardo-matos/40efb3e4ce4d4e3f7ba7 to your computer and use it in GitHub Desktop.
Bash notepad
# kill processes by name
pkill <process name>
# if the above doesn't work, drop an atomic bomb!
ps auxww | grep '<process name>' | awk '{print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment