Skip to content

Instantly share code, notes, and snippets.

@fraserxu
Created May 31, 2016 04:40
Show Gist options
  • Save fraserxu/c8fa6a329d9fdb4f896df58a0ce93f04 to your computer and use it in GitHub Desktop.
Save fraserxu/c8fa6a329d9fdb4f896df58a0ce93f04 to your computer and use it in GitHub Desktop.
kill all running node process
ps aux | grep node | awk 'FNR > 1 {print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment