Skip to content

Instantly share code, notes, and snippets.

@Splode
Created September 29, 2017 02:48
Show Gist options
  • Save Splode/0811fe3a23ce53e8f0189e1806d927f9 to your computer and use it in GitHub Desktop.
Save Splode/0811fe3a23ce53e8f0189e1806d927f9 to your computer and use it in GitHub Desktop.
A list of useful commands for running Node

Run a Process in the Background

  1. When a process is running, press ctrl+z to step out of the current process and show running processes.
  2. To continue running a process in the background, use the following command: bg %1, where the %1 is the index of the process.

List Running Processes and Filter by Name

ps -ef | grep node

Kill a Process by Name

pkill -f node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment