Skip to content

Instantly share code, notes, and snippets.

@Skipants
Created November 13, 2017 19:20
Show Gist options
  • Save Skipants/068901cd0be56526ecb7e37fc87eb5b0 to your computer and use it in GitHub Desktop.
Save Skipants/068901cd0be56526ecb7e37fc87eb5b0 to your computer and use it in GitHub Desktop.
Killing all grep'd processes on ubuntu
ps -aux | grep node | tr -s " " | cut -d " " -f 2 | xargs kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment