Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-03-2010, 06:17 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Watch Command

I am using watch command and run it in Cygwin windows based. However, when I use this such as watch ls, why my command prompt only will list half of the display only.
FYI. I am running my tests and everytime my test will create a file to a folder, and I am using watch command to monitor for every files created. However, it stops when the display of command prompt is full, why?
Old 11-03-2010, 07:26 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
I think the watch command doesn't scroll the command output so that you can use highlighting, try 'ls -lat' which will show the latest modified file at the top of the output
Old 11-04-2010, 12:25 AM   #3
LQ Newbie
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Watch Command

Ok. Get it. Thanks kbp. It solves my problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Watch command in a shell script hawk__0 Programming 5 03-03-2010 01:42 PM
escape characters in watch command .:neogeo:. Linux - General 2 10-21-2009 03:23 AM
Something Command watch with scroll ability sebelk Linux - Server 1 05-07-2009 06:36 PM
Linux watch command batofd Linux - General 3 12-14-2007 02:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration