Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Last active December 20, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-piekarski/6119565 to your computer and use it in GitHub Desktop.
Save chris-piekarski/6119565 to your computer and use it in GitHub Desktop.
Kill all procs by name
kill `ps ax | grep chrome | grep -v 'grep' | cut -f1 -d' ' -s`
#test -> check if -f 1 or -f 2
ps ax | grep rake | grep -v 'grep' | cut -d ' ' -f 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment