Watch

From Linuxintro
Revision as of 14:05, 26 September 2011 by imported>ThorstenStaerk (Reverted edits by 50.57.3.192 (talk) to last revision by ThorstenStaerk)

watch is a command that allows you to execute another command in a specified interval and display the results.

As an example, to watch the size of a file test in 1 second intervals:

watch --interval=1 "du -h test"

Stop watch using the key combination CTRL_C

See also