Skip to content

Instantly share code, notes, and snippets.

@cddr
Created July 3, 2012 01:53
Show Gist options
  • Save cddr/3037033 to your computer and use it in GitHub Desktop.
Save cddr/3037033 to your computer and use it in GitHub Desktop.
./long-running-proc
#Ctrl-Z # stops the job
bg # starts it running in the background
disown %1 # detaches this process from the current shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment