HostOnNet Blog

Tail For Windows

Looking for Linux Server Admin or WordPress Expert? We can help.

tail is very useful utility available in linux servers. It help server admins to monitor server logs. For example to see what is going on with exim on a cpanel server, just run

tail -f /var/log/exim_mainlog

On Windows, until recently, it was hard to see what is going on with server logs. You have to open log file in notepad or another editor, in most cause opening large file will crash notepad or make server stop responding.

With PowerShell, you can use

Get-Content LOG_FILE_NAME_HERE –Wait

Posted in Windows

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.