Created
April 14, 2020 13:40
-
-
Save bmorrisondev/e42e61a4d93c05595f49e5fa708a940c to your computer and use it in GitHub Desktop.
A #powershell one liner that mimics `tail` in Linux #100daysofcode #developers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -Tail grabs the previous N lines, -Wait will watch the file and log out the changes to the session. | |
| Get-Content ./mylog.log -Tail 5 –Wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment