Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #!/bin/bash
  2. echo -e "\e[93mQuantity of downloads from ftp file\e[0m"
  3. echo
  4. grep "OK DOWNLOAD" cdlinux.ftp.log |cut -d '"' -f2,4 |sort|uniq|cut -d '"' -f2|sed "s#.*/##"|sort|grep "cdlinux"|grep ".iso"| uniq -c
  5. echo
  6. echo -e "\e[93mQuantity of downloads from www file\e[0m"
  7. echo
  8.  
  9. 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