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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment