Saturday, April 8, 2017

command line - How to save terminal output to a file every 1 s?

I want to save a terminal output in a file but every 1 second.




I want to save tcpdump output in a file but the output will be saved after the command ends and I want to save it every time when the output changes.



I use the command



sudo tcpdump > output.txt

No comments:

Post a Comment