summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/coreutils.texi8
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index ca00a842d..80d2f0971 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * coreutils.texi (nohup invocation): Add advice about saving
+ output to a file.
+
2007-04-16 Jim Meyering <jim@meyering.net>
* coreutils.texi (cut invocation): Adjust synopsis to show that an
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index e1c5f5172..c535dad58 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -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