22

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.

1
  • Thanks everyone for those awesome suggestions! Much appreciated.
    – Mike B
    Commented Nov 11, 2009 at 20:00

9 Answers 9

18

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

7

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.

1
  • 1
    Tail for win32 is a nice GUI application. Highlighting keywords can give you find -f file.txt | grep 'stuff' like functionality. Commented Mar 24, 2010 at 18:44
5

Just use the tail program from the cygwin project. this is "just" a ported UN*X tail command.

3

We currently use this http://www.baremetalsoft.com/wintail/

2

I use UnxUtils which are native win32 ports of common gnu utilities. Then I don't have to bother with cygwin.

0

I can recommend LogExpert an other alternatives

0

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.

0

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)

0

Workaround in case of cmd.exe:

  1. find /c /v "" your_file.txt - will count the number of lines in the file
  2. more +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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .