Sum column 4 of a TSV, treating the first line as a header
Datamash is GNU's statistics toolkit for tabular text. This sums the numeric values in column 4 of a tab-separated file, the default delimiter, so no -t flag is needed. The --header-in flag tells datamash the first line is a column-name header that must not be summed. Add -t, to apply the same command to comma-separated data.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.