watch do?run a command repeatedly and watch its output update.
▸ Explain your own watch command →$ watch -n 10 date
$ watch -d ls
| -n | set the interval between runs, in seconds |
| -d | highlight what changed between updates |
| -t | hide the header showing the interval and command |
| -g | exit as soon as the output first changes |
| -b | beep if the command exits non-zero |
| -e | freeze and wait for a key if the command errors |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.