logsave

save the output of a command in a log file
  http://e2fsprogs.sourceforge.net
  0
  no reviews



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.