RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

watch

Article Index
1. Name
2. Synopsis
3. Frequently used options
4. Examples

1. Name

watch [man page] - execute a program periodically, showing output fullscreen

2. Synopsis

watch [-dhvt] [-n seconds] [--differences[=cumulative]]
      [--help] [--interval=seconds] [--no-title]
      [--version] command 

3. Frequently used options

-n seconds interval in seconds 

4. Examples

Watch is utility which helps you to WATCH for changes. For example if we want to watch content of directory for new files we can do:

$ watch ls ~/ 

By default watch update screen every 2 seconds. To change this interval we can use -n option. If we want to watch to refresh screen every 0.5 second we do:

watch -n 0.5 ls ~/ 

watch for directory or file change

Share this linux post:

Submit watch in Delicious Submit watch in Digg Submit watch in FaceBook Submit watch in Google Bookmarks Submit watch in Stumbleupon Submit watch in Technorati Submit watch in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download