Archive for April, 2010

Simple command to “watch” the webserver access log

Friday, April 2nd, 2010

I am often curious as to what bots are going on my site at any given moment. So much so that I devote one terminal tab to running this script. save the following as say bot.sh and make it executable :- #!/bin/bash watch "grep $1 /path/to/access.log | tail -15" note: the number after tail ...