Skip to content
My Command Line
Commands made simple
Monthly Archives:
November 2012
To sum all the numbers in a file
cat x.tmp | awk '{sum += $0} END {print sum}'