Send a process/command to the background The following steps allow you to send a process to background:
Run a very long command, e.g.:
sleep 5000
Detach from it by pressing: ctrl-Z
List the current jobs:
jobs
Send job 1 to background:
bg 1
If you want to close the terminal session, disown job 1 such that it can continue even if your terminal session is closed:
disown -h %1
admin / Dec 09, 2020
|