Windows Equivalent of Linux ‘tail’ Command

We can use ‘tail’ command feature in Windows using Powershell.

Run Powershell and execute this command:

Get-Content [filename] -Wait -Tail 30

Change [filename] with your file.

Number 30 means show the last 30 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.