Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a tool for Windows cmd which have a feature like the less F command on Linux? It doesn't need to be a cmd tool. The only thing it needs to provide is checking for new content and "auto-scrolling" to bottom, for viewing a log file in real time.

share|improve this question
Actually what you need is a 'Tail' tool. – Aphelion Mar 17 '14 at 15:10
up vote 2 down vote accepted

I recently switched to LogExpert. It shows you the tail of a text file, in a GUI window. It is free, open source.


  • Tabs
  • Highlighting (UI to configure highlights is not very intuitive)
  • Supports SHIFT-JIS-encoded files, unlike Baretail.

enter image description here

share|improve this answer

There is a built-in feature in Powershell which is equivalent to tail -f. I think this is available preinstalled on Windows since Windows 7. Although neither the documentation of Get-Content nor the interactive help mention the -wait option, I can confirm that it works on Windows 7 with Powershell 2.0.

Get-Content foo.log -wait

which you can abbreviate to

gc -wait foo.log

Going beyond that, there is a generic answer to “what is a Windows equivalent of the Linux tool X”: Cygwin. Cygwin is a port of many Linux programs to Windows, including less. You can install it and keep all your Linux habits.

Scripting works out of the box, as long as you ensure that the Cygwin directories come first in your PATH (there are a few utility names that clash, such as find which is Windows's excuse for a grep).

Terminal-based tools work under Cmd, in a Windows console window, but the Windows console is very limited. I recommend PuttyCyg as a terminal emulator; it offers a Linux terminal interface in a native Windows window. PuttyCyg appears to Cygwin progarms as a terminal, but to Windows programs as a pipe; if you want to run both native Windows and Cygwin programs in the same terminal, use Console2 or ConEmu instead.

GUI programs require an X server. Cygwin provides one. The integration in the Windows environment isn't seamless though, so I usually don't use it.

So my recommendation is: install Cygwin, run its less program inside PuttyCyg.

If you don't want to install Cygwin… well, I can't think of a reason not to do that, but the less F feature is called tailing, after the tail program and its -f option which was the first to provide this behavior. A web search for “Windows tail” turns up several likely-looking hits, but I can't comment on them since I haven't used them.

share|improve this answer
Cygwin is exactly what I was gonna propose. +1 I didn't know about the Powershell function, that would deserve another +1 – Johnride Mar 15 '14 at 14:27
gc doesn't seem to be reliable for very big logfiles. – Dev0r Mar 16 '14 at 15:47
@Dev0r I don't use Powershell, I just tested it on a sample file when I wrote this answer. What's the problem? How does it break? – Gilles Mar 16 '14 at 15:52
@Gilles No new data will be shown on very big logfiles. Doesn't scrolls to bottom or shows new data. – Dev0r Mar 16 '14 at 16:43

I develop a Windows application and use BareTail to watch its log file in real time.

You can set it to highlight patterns, which is very convenient when there is too much to read. Unlike the Linux command, it remembers the file you were watching last time, which can save some retyping. By the way it is a graphical program, not command-line.

I was using Get-Content xxx.txt -Wait before but I did not find it very reliable, it was stopping sometimes and not showing everything. BareTail on the contrary has never failed on me.

It is proprietary, with a free version and some nagging.

enter image description here

share|improve this answer

I have used WinTail in the past, its free to try (30 days) and costs 50$ after that.

It opens a window where you can track the changes of multiple files. I had no problems opening huge files and keeping track of them. It has a threshold of how many lines you want to keep in cache.

The highlight function lets you get direct notice whet specific keywords appear (through sound and highlighting of the window) if you need that.

Also as I was doing this to monitor output of software I wrote I found it very convenient to use regular expressions for the highlighting.

Main Window Screenshot

Please do note that I last used this tool in 2008 on a XP machine, it might have changed since then and might be incompatible with current versions of windows, but their homepage says its up to date.

share|improve this answer

I use GnuWin (free) for using this kind of basic GNU tools in Windows. It provides ports of many tools such as less, find, ls, etc, which can then use withing cmd.

enter image description here

Advantages (answer to Caleb's comment):

  • vs. Cygwin: 1) disk space 2) accessible from cmd.
  • vs. MSYS: more programs (ca. 1000 vs 100).
share|improve this answer
What advantage would this be over Cygwin which is a more full blown system or MinGW which is lean but well supported and might already be available (as git-bash) if they have git installed? – Caleb Mar 15 '14 at 18:04
vs. Cygwin: 1) disk space 2) accessible from cmd. – Franck Dernoncourt Mar 15 '14 at 18:06
vs. MSYS: more programs (ca. 1000 vs 100). – Franck Dernoncourt Mar 15 '14 at 18:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.