Difference among various logging methods
Sabniveesu Shashank
shashank at linux.com
Tue Jul 22 20:37:58 UTC 2014
[Avoiding application specific details for brevity; Please ask if needed]
Hi!
I could log data from an NS3 script into terminal. To save it, I did
./waf --run=first|tee first.txt (I see output on terminal; just an
empty file is created)
./waf --run=first > first.txt (I see output on terminal; just an
empty file is created)
./waf --run=first >& first.txt (saved 327 MB)
I found the last one in a blog. I don't understand why it alone is working.
Can someone respond?
Thanks
S.V.R.S.N. Shashank
about.me/shashank.computers
<http://about.me/shashank.computers>
We’ve created the greatest collection of shared knowledge in history. Help
protect Wikipedia. Donate now: https://donate.wikimedia.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140722/346dd568/attachment.html>
More information about the ubuntu-users
mailing list