Created
November 10, 2015 11:09
-
-
Save johnathan-sewell/42fcb9de1b5007bbd87d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kill -9 $(ps axo pid,command | grep node | awk '{print $1;}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe
xargs killwould be better:ps axo pid,command | grep node | awk '{print $1;}' | xargs kill