Fill these in once
- Follow the file
tail -f app.logPress Ctrl+C to stop watching.
Check it worked
- Show just the last 50 lines
tail -n 50 app.log
- Follow the file
tail -f app.logPress Ctrl+C to stop watching.
Check it worked
- Show just the last 50 lines
tail -n 50 app.log
- Follow the file
Get-Content app.log -Wait -Tail 20Press Ctrl+C to stop watching.
Check it worked
- Show just the last 50 lines
Get-Content app.log -Tail 50

New to logs? I explain it in plain English on Layman Terms.