Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

A Windows equivalent of the Unix tail command

I'm looking for the equivalent of the Unix 'tail' command that will allow me to watch the output of a log file while it is being written to.
by

3 Answers

akshay1995
I'd suggest installing something like GNU Utilities for Win32. It has most favourites, including tail.
pankajshivnani123
If you use PowerShell then this works:

Get-Content filenamehere -Wait -Tail 30


PowerShell 3 introduces a -Tail parameter to include only the last x lines
kshitijrana14
With Windows PowerShell you can use:
Get-Content <file> -Wait

Login / Signup to Answer the Question.