---
title: Watch (command)
slug: watch-command
qid: 
snapshot: enwiki-001353624475
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1353624475
tags: [23603337, 26220375, 61254763]
---

# Watch (command)

> [!note] Provenance
> Snapshot `enwiki-001353624475` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1353624475> · Licensed CC BY-SA 4.0

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.
