Tuesday, November 29, 2011

The watch command

Wow, what a useful command I just learned of.
Watch executes any task at a given interval, like a hassle-free on the fly cron job.
For instance to display your arp table and refresh every 10 seconds:

watch -n 10 arp -a

No comments:

Post a Comment