1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 22:44:56 +02:00

Merge pull request #707 from oxguy3/watch

Add watch
This commit is contained in:
Felix Yan 2016-01-22 10:11:09 +08:00
commit 113a3afa17

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 differences as they appear:
`watch -d {{ls -l}}`