Skip to content

Instantly share code, notes, and snippets.

@maorkavod
Created April 13, 2019 10:25
Show Gist options
  • Save maorkavod/994e3f16c46a83d1db1e32d3d4390a06 to your computer and use it in GitHub Desktop.
Save maorkavod/994e3f16c46a83d1db1e32d3d4390a06 to your computer and use it in GitHub Desktop.
kill all processes matching a name
ps aux | grep -ie XXXX | awk '{print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment