Return to Snippet

Revision: 70516
at March 20, 2016 17:57 by secdebian


Initial Code
gunzip {filename}.gz
sort {filename} | uniq -c > {filename}_count
awk '{if($1 > 3) { print $2 } }' {filename} > {filename}_file 
wc -l {filename}
cat {filename}  | awk -F : '{sum+=$5} END {print "AVG=",sum/NR}'

Initial URL

                                

Initial Description

                                

Initial Title
 # print every line after replacing each field with its absolute value

Initial Tags
sort

Initial Language
Bash