Red Hat Training

A Red Hat training course is available for Red Hat Fuse

2.21. shell:watch, watch

Abstract

watches and refreshes the output of a command

Synopsis

shell:watch [ --help ] [[ -n ] | [ --interval ] seconds] { command }

Arguments

Table 2.21, “shell:watch Arguments” describes the command's arguments.

Table 2.21. shell:watch Arguments

ArgumentInterpretation
--help Displays the online help for this command
-n,--intervalSpecifies the interval, in seconds, between executions of the command. The default is 1.
command Specifies the command to watch and refresh.