I'm using Cygwin:
tail -f prueba.txt
The file is located in c:\cygwin\home\ (/home/).
How can I do exactly the same for a file that is located in:
c:/wamp/logs/
An advanced tail -f command with GUI, MakeLogic Tail is the tail for Windows. It can be used to monitor the log files of various servers and comes with a variety of other intuitive and useful features.
To watch log files that get rotated on a daily base you can use the -F flag to tail command. The tail -F will keep track if new log file being created and will start following the new file instead of the old file. However, by default, tail command will display the last 10 lines of a file.
The tail command is fast and simple. But if you want more than just following a file (e.g., scrolling and searching), then less may be the command for you. Press Shift-F. This will take you to the end of the file, and continuously display new contents.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With