Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo -e "\e[93mQuantity of downloads from ftp file\e[0m"
- echo
- grep "OK DOWNLOAD" cdlinux.ftp.log |cut -d '"' -f2,4 |sort|uniq|cut -d '"' -f2|sed "s#.*/##"|sort|grep "cdlinux"|grep ".iso"| uniq -c
- echo
- echo -e "\e[93mQuantity of downloads from www file\e[0m"
- echo
- grep "thttpd.log" cdlinux.www.log | cut -d' ' -f1,7| cut -d':' -f2 | grep "cdlinux" | sort -u | cut -d'/' -f6 | grep ".iso" | grep -v "Cache" | grep -v "getright" | grep -v "(compatible" | grep -v "sh" | sed 's/iso0/iso/'| grep "cdlinux"| sort | uniq -c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement