Monday, 17 October 2016

How to use tailf command in windows



If you use PowerShell then this works:


Get-Content filenamehere -Wait

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

Example: -


Get-Content C:\LogFile.txt -Wait



Enjoy Tailing... :)  !!!

No comments:

Post a Comment