JAEN

Linux

watch

SafeRepeat a command on screen

watch -n 2 '<command>'

Re-runs a command periodically; -d highlights changes. Perfect for watching recovery progress.

Examples

  • watch -d -n 2 'df -h /'Watch disk usage change

Syntax

watch [-n sec] [-d] <command>

Before you run it

As safe as the watched command.

Related commands

  • tailFollow file tail
  • dfDisk free space

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store