Watch (command)
watch is a command-line tool, part of the Linux and packages, that runs the specified command repeatedly and displays the results on standard output so the user can watch it change over time. By default, the command is run every two seconds, although this is adjustable with the -n secs argument. Since the command is passed to sh -c , it may be necessary to encase it in quotes for it to run correctly.
watch is a command-line tool, part of the Linux and packages, that runs the specified command repeatedly and displays the results on standard output so the user can watch it change over time. By default, the command is run every two seconds, although this is adjustable with the -n secs argument. Since the command is passed to sh -c , it may be necessary to encase it in quotes for it to run correctly.
References
No reference rows published for this article.
Cite this article
MLA
"Watch (command)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/watch-command. Accessed 24 November 2026.
Chicago
"Watch (command)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/watch-command.
APA
encyclopegia.org. (2026). Watch (command). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/watch-command
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON