MirBSD manpage: nohup(1)

NOHUP(1)                     BSD Reference Manual                     NOHUP(1)


     nohup - invoke a command immune to hangups


     nohup utility [arg ...]


     The nohup command allows the specified utility to be protected from ter-
     mination 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 exe-
     cutes 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 ter-
     minal, 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.

     The nohup command shall exit 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

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


     HOME    User's home directory.




     The nohup command is expected to be IEEE Std 1003.2 ("POSIX.2") compati-

MirBSD #10-current               June 6, 1993                                1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung