Skip to content

Instantly share code, notes, and snippets.

@bdecarne
Created June 10, 2013 21:56
Show Gist options
  • Save bdecarne/5752758 to your computer and use it in GitHub Desktop.
Save bdecarne/5752758 to your computer and use it in GitHub Desktop.
Make a programme continue to run after log out from ssh
Assuming that you have a program running in the foreground, press ctrl-Z, then:
[1]+ Stopped myprogram
$ disown -h %1
$ bg 1
[1]+ myprogram &
$ logout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment