Move already running process to background on Linux

Common problem of server administrators is, that you run command, which runs hours shortly before you leave office and heading home :-)

Here are few commands, which will help you to leave your computer and let the running command finish:

 

1. stop currently running command: Ctrl+Z

2. To move stopped process to background execute command: bg

3. To make sure command will run after you close the ssh session execute command: disown -h

4. exit ssh, go home, process will finish on the background :-)

×