Windows Powershell Get-Content
Issue
For many developers testing or debugging often requires monitoring log files.
Closing and opening notepad gets tedious.
Soon, you have a bunch of notepads and you are note even sure what one is the current.
Power Shell to the rescue
1. Open windows powershell
2. enter this command
get-content logfile.log -Wait
3. You are now tailing your log file.
No comments:
Post a Comment