Runs a command without hangups.
nohup { -p pid | Command [ Arg ... ] [ & ] }
The nohup command runs the command specified by the Command parameter and any related Arg parameters, ignoring all hangup (SIGHUP) signals or modifies the process specified with -p option to ignore all hangup (SIGHUP) signals.
| Item | Description | 
|---|---|
| -p pid | pid is the process-id of a running process. The nohup command modifies the specified process, to ignore all hangup (SIGHUP) signals. | 
This command returns the following exit values:
| Item | Description | 
|---|---|
| 126 | The command specified by the Command parameter was found but could not be invoked. | 
| 127 | An error occurred in the nohup command or the command specified by the Command parameter could not be found. | 
Otherwise, the exit status of the nohup command is that of the command specified by the Command parameter.
$ nohup find / -print &670
$ Sending output to nohup.out$ nohup find / -print >filenames &677
$neqn math1 | nroff > fmath1nohup sh nnfmath1nohup nnfmath1nohup nnfmath1  
&
nohup ksh nnfmath1nohup -p 161792