开发者

how to cygwin tail over c:/wamp/logs/ file in Windows?

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜