WATCH(1) General Commands Manual WATCH(1) (NAME) watch - (SYNOPSIS) watch [option ...] command (DESCRIPTION) watch command ( ). . command watch . command . (OPTIONS) -b, --beep command () (beep) . -c, --color ANSI. -C, --no-color ANSI . -d, --differences[=permanent] . permanent watch . permanent -d1 --differences=1. -e, --errexit () command . watch command . n command 128 + n . -f, --follow watch tail -f (scroll) . --differences --chgexit --eqexit . -g, --chgexit command . watch . -n, --interval seconds . 0.1 2678400 ( ) . '.' ',' (locale) . WATCH_INTERVAL ( ) . -p, --precise command --interval --interval . command --interval . -q, --equexit command . -r, --no-rerun . -s, --shotsdir (screenshots). -t, --no-title . -w, --no-wrap (line wrapping). () . -x, --exec command exec(3) sh -c. . ( ) . -h, --help . -v, --version . (KEY CONTROL) spacebar command. . q watch. ( SIGKILL Ctrl+C). s . --shotsdir . command . (EXIT STATUS) 0 . command . 1 command. 2 command ( ). (--errexit) --errexit command . (ENVIRONMENT) watch : WATCH_INTERVAL --interval . COLUMNS . (override) . LINES . (override) . (NOTES) POSIX ( ). command watch . . cat -v (pipeline) . (EXAMPLES) : watch -d ls -l . . . watch -n1 'grep "^cpu MHz" /proc/cpuinfo | sort -nrk4' . -p . watch -n10 -p -d '{ date; for i in 10.0.0.31 10.0.0.32 10.0.0.33; do R=OK; ping -c2 -W2 "$i" &>/dev/null || R=FAIL; echo "$i: $R"; done } | tee -a ~/log' : watch uname -r (BUGS) command . --chgexit --equexit command . --differences . (REPORTING BUGS) . procps-ng 2025-04-16 WATCH(1)