How to `tail` on Windows

On Windows PowerShell

> Get-Content <PATH> -Wait -Tail 1000

is equivalent to:

$ tail -f -n 1000 <PATH>

on *nix.

("1000" in the above example represents the number of display lines)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.