[glug-t] One Day One GNU/Linux Command (WATCH)

One Day One GNU/Linux Command
=============================

watch - Periodically run and show the output of a Program

Summary:

Watch runs the specified command(s) repeatedly, displaying its output.
This allows us to monitor the output changes over time. Press Ctrl+C
to stop the Watch Command.

Examples :-

$ watch ls -- Every 2sec(default time) 'ls' is executed and output 
              is showed on the screen.

$ watch -n 6 who -- Every 6Sec 'who' run and list the current users

$ watch -d date -- Highlight the difference b/w successive updates

$ watch /sbin/ifconfig eth0 -- Watch the traffic on eth0 interface.

$ watch "/sbin/ifconfig eth0 | grep bytes" -- Watch RX/TX bytes.

$ watch "/sbin/ifconfig; date" -- Watch multiple commands.

Read: man watch

HTH :)
-- 
Bharathi S

---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: