1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 21:15:26 +02:00

watch: add page

This commit is contained in:
Hayden Schiff 2016-01-21 19:13:27 -05:00
parent f38c34f484
commit 5b175dfb89

15
pages/common/watch.md Normal file
View file

@ -0,0 +1,15 @@
# watch
> Execute a program periodically, showing output fullscreen.
- Repeatedly run a command and show the result:
`watch {{command}}`
- Re-run a command every 60 seconds:
`watch -n {{60}} {{command}}`
- Monitor the contents of a directory, highlighting changes as they appear:
`watch -d {{ls -l}}`