1.\" Copyright (c) 1989, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
--- 19 unchanged lines hidden (view full) ---
28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)nohup.1 8.1 (Berkeley) 6/6/93
36.\" $FreeBSD: head/usr.bin/nohup/nohup.1 51090 1999-09-08 15:40:46Z sheldonh $
37.\"
38.Dd June 6, 1993
39.Dt NOHUP 1
40.Os
41.Sh NAME
42.Nm nohup
43.Nd invoke a command immune to hangups
44.Sh SYNOPSIS
--- 18 unchanged lines hidden (view full) ---
63.Pa nohup.out
64in the current directory.
65If standard error is a terminal, it is directed to the same place
66as the standard output.
67.Pp
68.Nm Nohup
69exits 1 if an error occurs, otherwise the exit status is that of
70.Ar command .
71.Pp
72Some shells may provide a builtin
73.Nm
74command which is similar or identical to this utility. Consult
75the
76.Xr builtin 1
77manual page.
78.Sh ENVIRONMENT
79The following variable is utilized by
80.Nm nohup .
81.Bl -tag -width flag
82.It Ev HOME
83If the output file
84.Pa nohup.out
85cannot be created in the current directory, the
86.Nm
87utility uses the directory named by
88.Ev HOME
89to create the file.
90.El
91.Sh SEE ALSO
92.Xr builtin 1 ,
93.Xr csh 1 ,
94.Xr signal 3
95.Sh STANDARDS
96The
97.Nm
98utility is expected to be
99.St -p1003.2
100compatible.
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
--- 19 unchanged lines hidden (view full) ---
28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)nohup.1 8.1 (Berkeley) 6/6/93
36.\" $FreeBSD: head/usr.bin/nohup/nohup.1 51090 1999-09-08 15:40:46Z sheldonh $
37.\"
38.Dd June 6, 1993
39.Dt NOHUP 1
40.Os
41.Sh NAME
42.Nm nohup
43.Nd invoke a command immune to hangups
44.Sh SYNOPSIS
--- 18 unchanged lines hidden (view full) ---
63.Pa nohup.out
64in the current directory.
65If standard error is a terminal, it is directed to the same place
66as the standard output.
67.Pp
68.Nm Nohup
69exits 1 if an error occurs, otherwise the exit status is that of
70.Ar command .
71.Pp
72Some shells may provide a builtin
73.Nm
74command which is similar or identical to this utility. Consult
75the
76.Xr builtin 1
77manual page.
78.Sh ENVIRONMENT
79The following variable is utilized by
80.Nm nohup .
81.Bl -tag -width flag
82.It Ev HOME
83If the output file
84.Pa nohup.out
85cannot be created in the current directory, the
86.Nm
87utility uses the directory named by
88.Ev HOME
89to create the file.
90.El
91.Sh SEE ALSO
92.Xr builtin 1 ,
93.Xr csh 1 ,
94.Xr signal 3
95.Sh STANDARDS
96The
97.Nm
98utility is expected to be
99.St -p1003.2
100compatible.