watch -n 5 'df -h'

Category: Self-Hosting

watch -n 5 'df -h'

Re-run 'df -h' every 5 seconds to monitor disk space in real time

Reruns 'df -h' every 5 seconds and refreshes the display — a simple way to watch disk space during a large file operation.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.