watch -n 2 df -h

Category: Administration

watch -n 2 df -h

Run a command every 2 seconds and display its output

Runs a command repeatedly every 2 seconds, showing the refreshed output. Press Ctrl+C to stop. -n sets the interval.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.