nohup
Program: nohup
Starts a command that keeps running when the terminal closes.
Usage
nohup COMMAND [ARG]...
Description
Start COMMAND so that it keeps running when the terminal hangs up (SIGHUP is ignored). Output that would go to the terminal goes to nohup.out instead, input from the terminal is cut off.
Options in the simulator
1 more options of the real program, not in the simulator yet
Examples
nohup sleep 300 &
[1] 4243
nohup: ignoring input and appending output to 'nohup.out'
jobs
[1]+ Running nohup sleep 300 &
ls -l nohup.out
-rw------- 1 lerner lerner 0 Oct 17 09:42 nohup.out Where you learn it
Lessons
- Foreground, background, staying on Linux Basics, Module 6: Processes