January 2016
Output to File and Command Line at the Same Time
Use tee to send output to both the command line and a file:
| Notes
-
this doesn't always buffer properly. Check out this for possible help:
http://www.skorks.com/2009/09/using-bash-to-output-to-screen-and-file-at-the-same-time/
end of line