LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Watch Command (https://www.linuxquestions.org/questions/linux-newbie-8/watch-command-842090/)

jessy1983 11-03-2010 05:17 AM

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?
Thanks.

kbp 11-03-2010 06:26 PM

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

jessy1983 11-03-2010 11:25 PM

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


All times are GMT -5. The time now is 10:27 PM.