Web Design

Categorized | cli

Save the output of a command using logsave

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.

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Trackback(s)

  1. 09 11 2008 : HowtoMatrix » Save the output of a command using logsave

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>