logsave
将一个命令的输出保存在日志文件中. 更多信息: https://linux.die.net/man/8/logsave.
logsave {{path/to/logfile}} {{command}}
logsave {{logfile}} -
logsave -a {{logfile}} {{command}}
logsave -v {{logfile}} {{command}}