To set a background job from the terminal in Linux


If you find this free website useful – why don’t you support this with a donation? It is easy…. read more ….

If you run a command from the shell terminal, and you realise that it is going to run a while, you can put it into the background

first

ctrl-z

which suspends it, then

bg

which starts it running in background, then

disown -h

which detaches the job from your session, this is important as if you exit the session, without this, the job will die too


Leave a Reply

Your email address will not be published.