开发者

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

开发者 https://www.devze.com 2023-03-15 12:27 出处:网络
I\'m using Cygwin: tail -f prueba.txt The file is located in c:\\cygwin\\home\\ (/home/).开发者_如何学C

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

精彩评论

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