123 а
456 b
789 a
012 b
cat namefile.txt | awk '{a[$2]+=$1}END{for(i in a){print a[i], i}}' | sort -rn
cat *access.log | awk {'print $8'} | cut -d'.' -f2 | grep -vE "[=|?|0|1|2|5|6|7|8|9|A-Z]" | grep -o -w '\w\{2,4\}' | sort | uniq -c | sort -rn
8119 LombardSK-038DCF73DF55953E&box=to
7718 zaimok-0226B22FCC23DB02&box=to
7634 NurAltyny
7596 PanaKZ
7489 585proba
7488 Altyn2007
7485 slombard-02E85AEF7AF4C84C&box=to
7384 esilmk-04B3B571B66710EA&box=to
7215 MRoyal-03B0B2BBAB4193FE&box=to
7137 slombard-05BCAA5C6B7D3CEB&box=to
7012 Extra-034DD7500F496EDC&box=to
7011 VashStolichny-020098E697801C97&box=from
6975 VashStolichny-01006E66D8ACC53E&box=from
6940 MRoyal-023FD6185C88EB4E&box=from
6901 NurAltyny-1265FAEBADF46706&box=to
6763 NurAltyny-06F97AB8CADFB363&box=to