e36freak 1353519279 learn sum the values of the first column: awk '{tot += $1} END {print tot}'