I'm using Cygwin:
tail -f prueba.txt
The file is located in c:\cygwin\home\ (/home/).开发者_如何学C
How can I do exactly the same for a file that is located in:
c:/wamp/logs/
cygdrive
is the root point for Windows drives so c:\
can be found within CygWin at /cygdrive/c
.
So the command you're looking for is:
tail -f /cygdrive/c/wamp/logs/somefile.txt
精彩评论