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

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...