I see!
A Blog for things related to Linux, Python, R, Shell scripting, bioinformatics, etc.
2013-07-19
How to see stdout output in the terminal and pipe it into a file
Since I always have to look up how to print the stdout output to the screen AND to a file at the same time, I put this small command here:
command
2>&1 | tee
outputfile.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment