mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-13 05:32:19 +02:00
* src/nohup.c (usage): Describe how standard input and output are redirected.
This commit is contained in:
committed by
Jim Meyering
parent
cebbc9ee6d
commit
60f3c362f5
@@ -13441,6 +13441,14 @@ However, if standard output is closed, standard error terminal output
|
||||
is instead appended to the file @file{nohup.out} or
|
||||
@file{$HOME/nohup.out} as above.
|
||||
|
||||
To capture the command's output to a file other than @file{nohup.out}
|
||||
you can redirect it. For example, to capture the output of
|
||||
@command{make}:
|
||||
|
||||
@example
|
||||
nohup make > make.log
|
||||
@end example
|
||||
|
||||
@command{nohup} does not automatically put the command it runs in the
|
||||
background; you must do that explicitly, by ending the command line
|
||||
with an @samp{&}. Also, @command{nohup} does not alter the
|
||||
|
||||
Reference in New Issue
Block a user