nohup

NAME

nohup - invoke a utility so it is immune to hangups

SYNOPSIS

nohup command [arg ...]

DESCRIPTION

The nohup(1) utility invokes utility with its arguments, and at this time, sets the signal SIGHUP to be ignored. The signal SIGQUIT can also be set to be ignored. If the standard output is a terminal, the standard output is appended to the file nohup.out in the current directory. If standard error is a terminal, it is directed to the same place as the standard output.

DIAGNOSTICS

The nohup(1) utility exits 1 if an error occurs; otherwise, the exit status is that of command.

ENVIRONMENT

The nohup(1) utility uses the value of the following variable:
HOME
If the output file nohup.out cannot be created in the current directory, the nohup(1) utility creates it in the directory named by HOME.

SEE ALSO

kill(1)

sh(1)

strsignal(1)