.\" Copyright (c) 1989, 1990 The Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.man% .\" .\" @(#)nohup.1 6.4 (Berkeley) 06/11/90 .\" .Dd .Dt NOHUP 1 .Sh NAME .Nm nohup .Nd invoke a command immune to hangups .Sh SYNOPSIS .Nm nohup .Ar command .Op Ar arg ... .Sh DESCRIPTION The .Nm nohup utility invokes .Ar command with its arguments and at this time sets the signal SIGHUP to be ignored. The signal SIGQUIT may also be set to be ignored. If the standard output is a terminal, the standard output is appended to the file .Pa nohup.out in the current directory. If standard error is a terminal, it is directed to the same place as the standard output. .Pp .Nm Nohup exits 1 if an error occurs, otherwise the exit status is that of .Ar command . .Sh ENVIRONMENT .Tw Fl .Tp Ev HOME If the output file .Pa nohup.out cannot be created in the current directory, the .Nm nohup utility uses the directory named by .Ev HOME to create the file. .Tp .Sh SEE ALSO .Xr signal 3 .Sh STANDARDS The nohup function is expected to be POSIX 1003.2 compatible.