linux保存屏幕日志log

Posted 想飞的萌猪

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux保存屏幕日志log相关的知识,希望对你有一定的参考价值。

例如:

#!/bin/bash

 

LOG="examples/mnist/lenet_log_mylog"
exec &> >(tee -a "$LOG")
echo Logging output to "$LOG"

 

./build/tools/caffe train --solver=examples/mnist/lenet_solver.prototxt



以上是关于linux保存屏幕日志log的主要内容,如果未能解决你的问题,请参考以下文章