remove nice.1, from scratch for POSIX.2
[unix-history] / usr / src / usr.bin / nohup / nohup.1
CommitLineData
1896dca3
KB
1.\" Copyright (c) 1989 The Regents of the University of California.
2.\" All rights reserved.
36b987e5 3.\"
1896dca3
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
36b987e5 15.\"
1896dca3
KB
16.\" @(#)nohup.1 6.3 (Berkeley) %G%
17.\"
18.TH NOHUP 1 ""
36b987e5 19.SH NAME
1896dca3 20nohup - run a utility immune to hangups and quits
36b987e5 21.SH SYNOPSIS
1896dca3 22.B nohup command
36b987e5 23.SH DESCRIPTION
1896dca3
KB
24The
25.I nohup
26utility invokes a command with the signals SIGHUP and SIGQUIT
27initially ignored.
28If the standard output is a terminal, the standard output is
29appended to the file
30.I nohup.out
31in the current directory.
32If standard error is a terminal, it is directed to the same place
33as the standard output.
36b987e5
KM
34.PP
35.I Nohup
1896dca3
KB
36exits 1 if an error occurs, otherwise the exit status is that of
37.IR command .
38.SH "ENVIRONMENTAL VARIABLES"
39.TP
40.I HOME
41If the output file
42.I nohup.out
43cannot be created in the current directory, the
36b987e5 44.I nohup
1896dca3
KB
45utility uses the directory named by
46.I HOME
47to create the file.
36b987e5 48.SH "SEE ALSO"
1896dca3 49signal(3)