Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

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