mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
5faa753d8f
per waldyrious' suggestion in comments of #707
16 lines
312 B
Markdown
16 lines
312 B
Markdown
# 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}}`
|