# Columns and Totals: awk

awk splits every line into numbered fields, prints the ones you ask for, keeps only the lines that match a condition, and adds up a column, in total or per month, item or address.

![Cheat sheet for the lesson Columns and Totals: awk: awk splits every line into numbered fields, prints the ones you ask for, keeps only the lines that match a condition, and adds up a column, in total or per month, item or address.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/fca9345488cb4b7baf25c4c297312cd6.webp)

- Category: Bash
- Level: Journeyman
- Tags: awk, CSV File, field, field-separator, linux, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-awk-cheat-sheet
