Skip to content

Instantly share code, notes, and snippets.

@4lberto
Created April 12, 2018 06:38
Show Gist options
  • Save 4lberto/08c6fd1ec535a54f28267696ff86c3a0 to your computer and use it in GitHub Desktop.
Save 4lberto/08c6fd1ec535a54f28267696ff86c3a0 to your computer and use it in GitHub Desktop.
Run shell command in background
https://superuser.com/questions/178587/how-do-i-detach-a-process-from-terminal-entirely
"You can background it by first stopping it (hit Ctrl-Z) and then typing bg to let it resume in the background. It's now a "job", and its stdout/stderr/stdin are still connected to your terminal."
You can start a process as backgrounded immediately by appending a "&" to the end of it: firefox &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment