Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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