Pre-launch#

To keep a process running after logout, run it with nohup.

$ nohup some_command &

Post-launch#

Bash#

If you have already launched the process, and are using bash, you can run:

$ disown -h <jobspec>

Example#

When in a terminal with a running process type ^z to put in the background. Then type

$ bg
$ disown -h


Linux.Shell - Mac.Shell