HostOnNet Blog

Tail For Windows

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