Thursday, March 15, 2012

How to run jobs in the background on Linux over SSH

Start the process in the background
$ command &


View running jobs
$ jobs


Disown it
$ disown %1


Now when you log off, your job will still be running in the background when you come back.


More information about disown is found on the bash man page ("man bash").


http://www.quantprinciple.com/invest/index.php/docs/tipsandtricks/unix/jobcontrol/

No comments:

Post a Comment