BSD 4_4 development
[unix-history] / usr / share / man / cat1 / nohup.0
CommitLineData
28b214ee
C
1NOHUP(1) BSD Reference Manual NOHUP(1)
2
3N\bNA\bAM\bME\bE
4 n\bno\boh\bhu\bup\bp - invoke a command immune to hangups
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 n\bno\boh\bhu\bup\bp _\bc_\bo_\bm_\bm_\ba_\bn_\bd [_\ba_\br_\bg _\b._\b._\b.]
8
9D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
10 The n\bno\boh\bhu\bup\bp utility invokes _\bc_\bo_\bm_\bm_\ba_\bn_\bd with its arguments and at this time
11 sets the signal SIGHUP to be ignored. The signal SIGQUIT may also be set
12 to be ignored. If the standard output is a terminal, the standard output
13 is appended to the file _\bn_\bo_\bh_\bu_\bp_\b._\bo_\bu_\bt in the current directory. If standard
14 error is a terminal, it is directed to the same place as the standard
15 output.
16
17 N\bNo\boh\bhu\bup\bp exits 1 if an error occurs, otherwise the exit status is that of
18 _\bc_\bo_\bm_\bm_\ba_\bn_\bd.
19
20E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
21 The following variable is utilized by n\bno\boh\bhu\bup\bp.
22
23 HOME If the output file _\bn_\bo_\bh_\bu_\bp_\b._\bo_\bu_\bt cannot be created in the current di-
24 rectory, the n\bno\boh\bhu\bup\bp utility uses the directory named by HOME to cre-
25 ate the file.
26
27S\bSE\bEE\bE A\bAL\bLS\bSO\bO
28 signal(3)
29
30S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
31 The n\bno\boh\bhu\bup\bp command is expected to be IEEE Std1003.2 (``POSIX'') compati-
32 ble.
33
344.4BSD June 6, 1993 1