Skip to content

Instantly share code, notes, and snippets.

@bboydflo
Last active December 17, 2020 00:42
Show Gist options
  • Save bboydflo/89d0630cd242904ed9e6aae9a296e8b1 to your computer and use it in GitHub Desktop.
Save bboydflo/89d0630cd242904ed9e6aae9a296e8b1 to your computer and use it in GitHub Desktop.
[Kill node processes] useful in development when we need to all processes of a parent process #nodejs #webdev
killall -9 node
## or
# ps aux | grep node
## then
# kill -9 [pid]
# https://tecadmin.net/kill-process-on-specific-port/
sudo kill -9 $(sudo lsof -t -i:3000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment