December 11, 2007

nohup command

$ nohup sleep 400 & <== command
[1] 7026
$ Sending output to nohup.out

ctrl + d
$ There are running jobs.
ctrl + d

$ ps -ef| grep user6
user6 7026 1 0 15:52:03 ? 0:00 sleep 400 <== Running!!
user6 7049 7029 14 15:53:00 pts/tg 0:00 ps -ef
user6 6769 6768 0 14:12:12 pts/tc 0:00 -sh
user6 7050 7029 3 15:53:00 pts/tg 0:00 grep user6
user6 7029 7028 0 15:52:38 pts/tg 0:00 -sh
$

No comments:

Post a Comment