nohup
Hi,
I like to understand why nohup is not showed in ps -ef output.
nohup sleep 1000 &
[1] 13864
ps -ef|grep 13864
root 13864 13750 0 17:54:36 pts/1 0:00 sleep 1000
Here is no nohup in the output.
ps -ef|grep 13750
root 13864 13750 0 17:54:36 pts/1 0:00 sleep 1000
root 13750 13744 0 17:54:24 pts/1 0:00 -bash
Above shows that bash process is the parent of sleep.
jobs -l
[1]+ 13864 Running nohup sleep 1000 &