Show Table of Contents
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
| Argument | Interpretation |
|---|---|
--help | Displays the online help for this command |
-n,--interval | Specifies the interval, in seconds, between executions of the command. The default is 1. |
command | Specifies the command to watch and refresh. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.