Linux.com: CLI Magic: Watch It
May 24, 2005, 08:30 (0 Talkback[s])
(Other stories by Joe Barr)
Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame
"This week we'll take a look at a very simple command called
watch. You know what they say, a watched pot never boils. That's
why it makes good sense to take advantage of this little tool to
watch it for you. Waiting for mail? Want to see if a job has
completed? Watch can help. At the CLI, of course. Climb down out of
your GUI and take a look.
"Watch allows you to see a real-time display of the latest
output--the first screenful of output--from a command. So instead
of you having to retype the command 50 times while you wait for
whatever to occur, you tell watch to do it for you. By default,
watch reissues your command every 2 seconds..."