Is there way have windows XP show me updates to a log file as they happen? I'm thinking of something similar to tail -f <file path> in the linux realm.
- 2,720
9 Answers
Using Windows Powershell, you can use Get-Content < filename > -wait
There's also a discussion of a Windows Server 2003 tools package that has a tail program which supports -f
- 14,761
I have had good luck with http://sourceforge.net/projects/tailforwin32/. It has some nice options for fonts, colors and keyword highlighting. Feels lightweight and fast to me.
- 116
Just use the tail program from the cygwin project. this is "just" a ported UN*X tail command.
- 972
You can checkout in'side log.
A Java tool I created, able to read local and distant log files using SSH. It is fairly simple to use.
Some more explanations: https://github.com/pschweitz/insidelog/wiki
Just download the version corresponding to your operating system, or the native jar release executable within your Java Runtime (requires java 8_40 or higher):
https://github.com/pschweitz/insidelog/releases
You can find a complete documentation (embedded with and in Github's page as well)
If you happen to have a version of git installed that comes with bash (for instance the one from https://git-scm.com), you can use the tail included with that.
- 2,846
Workaround in case of cmd.exe:
find /c /v "" your_file.txt- will count the number of lines in the filemore +123456 your_file.txt- will display lines starting from the specified line number
Calculate point 1 result minus tail you need and put it into point 2, and here it is