Record Terminal Output to .txt File

Today I came across that annoying situation where you build something that throws an error, but the build process spits out so much text to your terminal, that the error is lost. The terminal can only hold so-much text in memory. So what to do?

Record the terminal output to a text file:

ls> output.txt 2>&1

Tip via @humphd.

This entry was posted by Al MacDonald on July 15, 2010 in Uncategorized.

Comments

Author

This entry was posted by Al MacDonald on July 15, 2010 in Uncategorized.

Recent posts from this author

Related on the Bocoup Blog

Advertisement

Twitter

Google+