#!/bin/bash cd/etc/Nginx/logs/old/ foriin`seq130` do dt=`date-d"$idayago"+%Y%m%d` cd${dt} line=`cat*_sl.senseyun.com-getTime.log|wc-l` echo${dt}:XX访问量"${line}" cd../ done
#!/bin/bash cd/etc/Nginx/logs/old/ foriin`seq130` do dt=`date-d"$idayago"+%Y%m%d` cd${dt} line=`cat*_sl.senseyun.com-getTime.log|wc-l` echo${dt}:XX访问量"${line}" cd../ done