User Tools

Site Tools


bash

Use awk to total a column contents:

awk '{SUM += $3} END {print SUM}'
bash.txt · Last modified: 2013/11/13 16:29 (external edit)