Sometimes you run a program at the command line and it’s running longer than you thought. You’re worried process might die if you walk away and your shell disconnects? Well you can detach from the process and put it in the background without worry.
Here are the steps, just do them one at a time after you’ve run your script and the shell is waiting for it to finish.
Ctrl-Z bg disown %1