Joel Asked: 2011-12-24 00:46:03 +0800 CST2011-12-24 00:46:03 +0800 CST 2011-12-24 00:46:03 +0800 CST Append stdout to file, but continue to output to console 772 On linux/bash I'd like to append stdout of a command to a file, but not redirect it (i.e. I want it to to go to both console and file). Any clues? linux bash stdout 1 Answers Voted Best Answer cmenke 2011-12-24T00:49:12+08:002011-12-24T00:49:12+08:00 I think "tee" is the right command for this -- unfortunately I don't know the exact syntax. Tee writes its input to stdout and to a file.
I think "tee" is the right command for this -- unfortunately I don't know the exact syntax. Tee writes its input to stdout and to a file.