Section: Maintenance Commands (8)
Updated: March 2018
Return to Main Contents
logsave - save the output of a command in a logfile
logfile cmd_prog [ ... ]
program will execute
with the specified argument(s), and save a copy of its output to
If the containing directory for
does not exist,
will accumulate the output in memory until it can be written out.
A copy of the output will also be written to standard output.
is a single hyphen ('-'), then instead of executing a program,
will take its input from standard input and save it in
is useful for saving the output of initial boot scripts
until the /var partition is mounted, so the output can be written to
This option will cause the output to be appended to
instead of replacing its current contents.
This option will cause
to skip writing to the log file text which is bracketed with a control-A
(ASCII 001 or Start of Header) and control-B (ASCII 002 or Start of
Text). This allows progress bar information to be visible to the user
on the console, while not being written to the log file.
This option will make
to be more verbose in its output to the user.
Theodore Ts'o (email@example.com)
- SEE ALSO
This document was created by
using the manual pages.
Time: 05:55:39 GMT, September 22, 2018