1.  Read length of a fastq file using awk
    $ awk 'NR%4==2 {print length}' input.fastq | sort -n | uniq -c | sort -rh | head -1