Skip to content

Instantly share code, notes, and snippets.

@fraserxu
Created May 31, 2016 04:40
Show Gist options
  • Select an option

  • Save fraserxu/c8fa6a329d9fdb4f896df58a0ce93f04 to your computer and use it in GitHub Desktop.

Select an option

Save fraserxu/c8fa6a329d9fdb4f896df58a0ce93f04 to your computer and use it in GitHub Desktop.

Revisions

  1. fraserxu created this gist May 31, 2016.
    1 change: 1 addition & 0 deletions kill all running node process
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ps aux | grep node | awk 'FNR > 1 {print $2}' | xargs kill -9