Advertisement
joker546645

bash #4

Apr 3rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. clear
  2. grep --text "OK DOWNLOAD" cdlinux.ftp.log | cut -d '"' -f 2,4 | sort | uniq | cut -d '"' -f 2 | sed "s#.*/##" | sort > plig.txt
  3. grep --text "GET" cdlinux.www.log | cut -d ' ' -f 1,7 | sort | uniq | cut -d ' ' -f 2 | sed "s#.*/##" | sort >> plig.txt
  4. grep --text "\.iso" plig.txt | sort | uniq -c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement