Format text into aligned columns for readable tabular output.
low risk
column formats text into evenly-spaced columns, making tabular data human-readable. The -t flag auto-detects and aligns fields. Transforms messy whitespace-separated output into a table without writing awk.
| Flag | Meaning |
|---|---|
-t --table | Auto-align into table format |
-s --separator | Set input field separator |
-o --output-separator | Set output column separator |
cat /etc/passwd | cut -d: -f1,3,7 | column -t -s:Show users/uid/shell as aligned table · explain & risk-check →mount | column -tFormat mount output as aligned table · explain & risk-check →echo -e 'Name Age\nAlice 30\nBob 25' | column -tSimple table from stdin · explain & risk-check →Pipe any space-separated output through `column -t` for instant readability — especially useful for custom monitoring scripts that emit structured data.
Reference text is hand-written and may be incomplete — check man column for your version. Test destructive commands on a non-production system first.