Skip to content

Instantly share code, notes, and snippets.

@shanemcd
Created March 10, 2013 13:38
Show Gist options
  • Save shanemcd/5128603 to your computer and use it in GitHub Desktop.
Save shanemcd/5128603 to your computer and use it in GitHub Desktop.
pkill
function pkill() {
for X in `ps acx | grep -i $1 | awk {'print $1'}`; do
kill $X;
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment