#!/bin/sh IMG=daily_usage_`date +%Y%m`.png cd /var/www/webalizer echo "

Last month statistics

" > ./this_month.html for DIR in `find . -mindepth 1 -maxdepth 1 -type d` do SITE=`basename $DIR` echo "

$SITE

" >> ./this_month.html done