2017年1月18日

linux下查看Apache的访问日志及ip

摘要: linux下查看Apache的实时访问日志:tail -f /etc/httpd/logs/access_log 查看有哪些ip访问过:cat access_log |awk '{print $1}' 查看有哪些ip访问过(去除重复):cat access_log |awk '{print $1}' 阅读全文

posted @ 2017-01-18 17:38 鹏哥的菜园子 阅读(886) 评论(0) 推荐(0) 编辑

导航