16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

nohup<br />

Localization<br />

Exit Values<br />

Portability<br />

If the standard output is a terminal, nohup appends the utility’s output to a file<br />

named nohup.out in the working directory. This file is created if it doesn’t already<br />

exist; if it can’t be created in the working directory, it is created in your home<br />

directory.<br />

If the standard error stream is a terminal, nohup redirects the utility’s error output to<br />

the same file as the standard output.<br />

nohup simply runs a program from an executable file. command-line cannot contain<br />

such special shell constructs as compound commands or pipelines; however, you<br />

can use nohup to invoke a version of the shell to run such a command line, as in:<br />

nohup sh –c 'command*'<br />

where command can contain such constructs.<br />

nohup in the tcsh shell<br />

With command, nohup runs command such that it will ignore hangup signals.<br />

<strong>Command</strong>s may set their own response to hangups, overriding nohup. Without an<br />

argument (allowed only in a shell script), nohup causes the tcsh shell to ignore<br />

hangups for the remainder of the script. See “tcsh — Invoke a C shell” on page<br />

626.<br />

nohup uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

126 nohup found the utility program but could not invoke it.<br />

127 An error occurred before nohup invoked the utility, or nohup could not find<br />

the utility program.<br />

Otherwise, the exit status is the exit status of the utility program that is invoked.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

Related Information<br />

exec, hup, nice, sh, tcsh<br />

obrowse — Browse an z/<strong>OS</strong> <strong>UNIX</strong> file<br />

Format<br />

obrowse -r xx [file...]<br />

458 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!