Save the output of a command using logsave

By | November 9, 2008

If you want to save the output of a certain command, and furthermore do it at preset time intervals, use logsave:

logsave foo /bin/ls

anaconda-ks.cfg
apache

foo

install.log
install.log.
syslog

and after that do a

more foo

Logsave is useful also because it prints the exact date and time of the event, before and after the command takes place.

One thought on “Save the output of a command using logsave

  1. Pingback: HowtoMatrix » Save the output of a command using logsave

Leave a Reply

Your email address will not be published. Required fields are marked *