user3724677
user3724677

Reputation: 1911

View log files in windows command prompt similar to tail command in linux

Is there a command similar to tail command in linux to view log files in windows. Linux Command: $ tail -f /var/log/syslog -f /var/log/myLog.log.

Upvotes: 1

Views: 34147

Answers (3)

Mitchell Rodgers
Mitchell Rodgers

Reputation: 81

you can use

type name-of-logfile.log | more

Upvotes: 8

Sam-Graham
Sam-Graham

Reputation: 1360

This works in Powershell. Replace [filename] with file,

Get-Content [filename] -Wait

Upvotes: 2

Rahul R Dhobi
Rahul R Dhobi

Reputation: 5816

You can download UnxUtils from here which include tail command and other unix commands

Upvotes: 0

Related Questions