Custom Search

Thursday, January 28, 2016

Linux Ubuntu Run command in watch mode and append output to a file and print in terminal

Run command in watch mode and append output to a file and print in terminal

$watch "myscript.sh 2>&1 | tee -a mylog.txt"








No comments:

Post a Comment