Keeping a Job After Logout
Start a foreground process and then logoff.
Allow the process to continue to run.
- Enter <CTRL-z> to stop the foreground process,
- Execute bg to place process in background,
- Run ps -u userid to obtain the pid of your login shell,
- Enter kill -9 shellpid to kill the login shell and
log off; but leave the process running detached
from the terminal.
The process must not do any terminal I/O.