My Tech Notes
Thursday, February 9, 2017
Repeat a unix command
watch -n1 command
Example:
watch -n5 "ls -lrt test"
Above command will execute every 5 seconds
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)