column -t: pretty-print delimited output as aligned tables
Format CSV files and pipe output into clean aligned tables on Linux using util-linux column.
Pipe any whitespace- or delimiter-separated data into column -t (add -s, for commas) to pad it into aligned columns.
01Command
Command
$ column -t -s, data.csv && mount | column -t02What it does
column -t is the fastest way to make messy columnar output readable: it measures every field, then pads each column to the widest entry. -s declares the input delimiter (comma, colon, tab), -o sets an output separator, and newer versions can even auto-detect JSON with -J. It ships with util-linux on every major distribution, yet most people never discover it — even though mount | column -t alone justifies knowing it.
03Risk
!Warning: Fields containing the delimiter character (e.g. commas inside quoted CSV) will be split incorrectly.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- column(1) — Arch Linux manualEvidence: -t creates a table by detecting columns, -s sets the input delimiter, -o sets output separator
- column(1) — Ubuntu manpageEvidence: util-linux column(1) documents -t/-s/-n table formatting behavior
Last verified: 2026-09-17 · Category: Files & Folders