Unix/Linux

(Apache log) Number of distinct IP addresses

steloflute 2012. 10. 17. 17:03

# Number of distinct IP addresses:
cat access_log.yyyymmdd|awk '{print $2}'|sort|uniq|wc -l

 

 

 

'Unix/Linux' 카테고리의 다른 글

농협 서버 해킹에 사용된 Unix-Linux의 dd 명령어는 무엇인가...  (0) 2013.01.08
rsync를 이용한 백업  (0) 2012.12.04
Disable Telnet in AIX  (0) 2012.08.16
Bash Initialisation Files  (0) 2012.08.11
unix reference sites  (0) 2012.08.01