A Windows Equivalent Of The Unix Tail Command


Answer :

If you use PowerShell then this works:

Get-Content filenamehere -Wait -Tail 30 

Posting Stefan's comment from below, so people don't miss it

PowerShell 3 introduces a -Tail parameter to include only the last x lines


I'd suggest installing something like GNU Utilities for Win32. It has most favourites, including tail.


I've always used Baretail for tailing in Windows. It's free and pretty nice.

Edit: for a better description of Baretail see this question


Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?