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
Post a Comment