nohup man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

NOHUP(1)		   OpenBSD Reference Manual		      NOHUP(1)

NAME
     nohup - invoke a command immune to hangups

SYNOPSIS
     nohup utility [arg ...]

DESCRIPTION
     The nohup command allows the specified utility to be protected from
     termination if the user should become logged out (for example, due to a
     modem line or TCP/IP connection being dropped).  To do this, nohup sets
     the SIGHUP signal(3) (``terminal line hangup'') to be ignored, then
     executes utility along with any arguments.

     If the standard output is a terminal, the standard output is appended to
     the file nohup.out in the current directory.  If standard error is a
     terminal, it is directed to the same place as the standard output.

     If the output file nohup.out cannot be created in the current directory,
     nohup attempts to create the file in the user's home directory.  If the
     file nohup.out cannot be created, either in the current directory or the
     user's home directory, nohup will exit without invoking utility, with an
     exit value as described below.

ENVIRONMENT
     HOME    User's home directory.

EXIT STATUS
     The nohup utility exits with one of the following values:

	   126	   The utility was found but could not be invoked.
	   127	   The utility could not be found or an error occurred in
		   nohup.

     Otherwise, the exit status of nohup shall be that of utility.

SEE ALSO
     csh(1), signal(3)

STANDARDS
     The nohup utility is compliant with the IEEE Std 1003.1-2008 (``POSIX'')
     specification.

     nohup also exists as a built-in to csh(1), though with a different
     syntax.

OpenBSD 4.9		      September 29, 2010		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net