Monthly Archives: August 2001
05 Aug 2001
Code Red May as well do it properly: CONFS=$(awk ‘$1 ~ /^s*[Ii]nclude$/ && $2 ~ /^// {print $2}’ /etc/apache/*.conf | sort -u) LOGS=$(awk ‘$1 ~ /^s*[A-Za-z]*Log$/ && $2 ~ /^// {print $2 “*”}’ /etc/apache/*.conf $CONFS | sort -u) ; zgrep … Continue reading
Posted in General
Comments Off on 05 Aug 2001