So give me a Windows box and I'm confused :-(
I was looking for an equivalent to tail on Windows, without needing to download 3rd party tools such as WinTail or BareTail.
Thankfully t'internet had the answer ....
which led me to this: -
Get-Content -Path "C:\scripts\test.txt" -Wait
which does the job ( once one starts a PowerShell terminal )
For me, I'm doing this: -
cd C:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1
Get-Content -Path .\SystemOut.log -Wait
Nice :-)
No comments:
Post a Comment