Summing values of a column using awk command

awk '{SUM+=$3}END{print SUM}'

where $3 represent value of column 3

Leave a Comment