Posts tagged: TIPS

Watching logs

I have a webserver with about a dozen active domains. Sometimes I want to take a quick look at the ongoing action on a particular domain. I have an alias called “watchlog” that takes the domain name as an argument. It shows me the last 25 lines of the log for that domain and then new ones as they come, until I kill it.

It’s a tcsh alias (sorry, bash users):