Sum the number in each line of a filePost Author:TimPost published:January 31, 2011Post Category:LinuxPost Comments:0 Comments Here is the command awk '{s += $1} END {print s}' mydatafile.txt Continue Reading Sum the number in each line of a file