Skip to content

Instantly share code, notes, and snippets.

@tomcoakes
Last active July 24, 2020 22:47
Show Gist options
  • Save tomcoakes/fef5a2355e666eea4fb9ed1006dbffb6 to your computer and use it in GitHub Desktop.
Save tomcoakes/fef5a2355e666eea4fb9ed1006dbffb6 to your computer and use it in GitHub Desktop.
bash - backgrounding and directing logs in one command
npm start > server.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment