logsave - save the output of a command in a logfile


   logsave [ -asv ] logfile cmd_prog [ ... ]


   The   logsave   program   will  execute  cmd_prog  with  the  specified
   argument(s), and save  a  copy  of  its  output  to  logfile.   If  the
   containing   directory   for  logfile  does  not  exist,  logsave  will
   accumulate the output in memory until it can be written out.  A copy of
   the output will also be written to standard output.

   If  cmd_prog  is  a  single  hyphen  ('-'), then instead of executing a
   program, logsave will take its input from standard input and save it in

   logsave  is  useful for saving the output of initial boot scripts until
   the /var partition  is  mounted,  so  the  output  can  be  written  to


   -a     This  option  will  cause  the output to be appended to logfile,
          instead of replacing its current contents.

   -s     This option will cause logsave 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.

   -v     This option will make logsave to be more verbose in  its  output
          to the user.


   Theodore Ts'o (tytso@mit.edu)



More Linux Commands

significand(3) - get mantissa of floating-point number......
The significand() function returns the mantissa of x scaled to the range [1,2). It is equivalent to scalb(x, (double) -ilogb(x)) This function exists mainly for

tkmib(1) - an interactive graphical MIB browser for SNMP....
Simple Network Management Protocol (SNMP) provides a framework for exchange of the management information between the agents (servers) and clients. The Manageme

Mail::SpamAssassin::Client(3pm) - Client for spamd Protocol
Mail::SpamAssassin::Client is a module which provides a perl implementation of the spamd protocol. PUBLIC METHODS new public class (Mail::SpamAssassin::Client)

Tcl_AppendElement(3) - manipulate Tcl result (Man Page).....
The procedures described here are utilities for manipulating the result value in a Tcl interpreter. The interpreter result may be either a Tcl object or a strin

ckalloc(3) - allocate or free heap memory - Linux man page
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of memory blocks between

ldap_bind(3) - LDAP bind routines - Linux manual page.......
These routines provide various interfaces to the LDAP bind operation. After an association with an LDAP server is made using ldap_init(3), an LDAP bind operatio

pthread_timedjoin_np(3) - try to join with a terminated thre
These functions operate in the same way as pthread_join(3), except for the differences described on this page. The pthread_tryjoin_np() function performs a nonb

field_pad(3form) - color and attribute control for form fiel
The function set_field_fore sets the foreground attribute of field. This is the highlight used to display the field contents. The function field_fore returns th

glScalef(3gl) - multiply the current matrix by a general sca
glScale produces a nonuniform scaling along the x, y, and z axes. The three parameters indicate the desired scale factor along each of the three axes. The curre

utf-8(7) - an ASCII compatible multibyte Unicode encoding...
The Unicode 3.0 character set occupies a 16-bit code space. The most obvious Unicode encoding (known as UCS-2) consists of a sequence of 16-bit words. Such stri

fchown32(2) - change ownership of a file - Linux man page...
These system calls change the owner and group of a file. The chown(), fchown(), and lchown() system calls differ only in how the file is specified: * chown() ch

ntfslabel(8) - display/change the label on an ntfs file syst
ntfslabel will display or change the file system label on the ntfs file system located on device. It can also change the serial number of the device. If the opt

We can't live, work or learn in freedom unless the software we use is free.