How to kigvin tail over c: / wamp / logs / file on Windows?

I am using Cygwin:

tail -f prueba.txt

The file is located in the c: \ cygwin \ home \ (/ home /) directory.

How can I do the same for a file that is in:

c:/wamp/logs/
+5
source share
1 answer

cygdriveis the root point for Windows drives, so c:\can be found in CygWin's /cygdrive/c.

So the command you are looking for is:

tail -f /cygdrive/c/wamp/logs/somefile.txt
+11
source

All Articles