Sunday, April 17, 2005

Using nohup

nohup command &

Continue to execute command (which can include arguments) in the background after you logout. Technically, nohup starts command with the SIGHUP signal set to be ignored.
If standard output is the terminal then standard output is redirected to the file nohup.out. Output is appended to nohup.out if the file already exists. If standard error is the terminal then standard error is redirected to the same file as standard output.

No comments: