ポータルページ~ #contents *[[ITインフラ>Infra]] [#m1c06c6b] サーバ、ネットワーク機器の設定、障害対応など~ *[[アプリケーション>Applications]] [#ie69e2ee] サーバには係らないソフトウェア、アプリケーションについて~ *[[プログラム開発>Devel]] [#ya497c53] 各プログラミング言語の仕様、Tipsなど~ *[[予備知識>Knowledge]] [#vfb389aa] ITインフラ運用やプログラム開発を従事するにあたり、知っておいたほうがいい知識・常識など~ *[[雑談>Others]] [#d1997fbc] ちょっとした運用・開発を行ったときのメモなど~ #sh(bash){{ echo "$_dates" | while read _date _time do # Set file _date_ext=`date -d "$_date + 1 day" +"%Y%m%d"` _file="/var/logs/httpd/access_log-"${_date_ext}".gz" echo "<$_date $_time>" if [ -e "$_file" ] then zgrep $_ip $_file | grep "$_time" else echo "Not found $_file" fi sleep 2 done | tee /tmp/sample.log }}