Wednesday, 20 February 2019

Repeat Linux Command

To repeat every 2 seconds (default):
watch <command>

To repeat every X seconds:
watch -n <X> <command>

No comments:

Post a Comment