$ ls -al | tee blah.txt
source: http://www.skorks.com/2009/09/using-bash-to-output-to-screen-and-file-at-the-same-time/
No comments:
Post a Comment