Is there an equivalent of tail -f on Windows?

In Powershell you can use Get-Content with the -Wait flag:

Get-Content filename.log -Wait

You can shorten Get-Content to gc. That question suggested as a possible duplicate has an answer which mentions this and some useful extra parameters –
see https://stackoverflow.com/a/188126. I’m not sure if it’s really a duplicate, though, since that question is talking about general Windows alternatives to Linux tail, rather than about tail -f.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)