LHasa solution for url: https://sadservers.com/scenario/lhasa
In this case we could use awk to sum all numbers in second columns and divide by number of entries ( 100 of them) So 520.4 / 100 -> 5.20
awk '{sum+=$2;} END{print sum;}' scores.txt
Vladimir Cicovic - Security, Programming, Puzzles, Cryptography, Math, Linux
LHasa solution for url: https://sadservers.com/scenario/lhasa
In this case we could use awk to sum all numbers in second columns and divide by number of entries ( 100 of them) So 520.4 / 100 -> 5.20
awk '{sum+=$2;} END{print sum;}' scores.txt