cmdxray / commands / column

What does column do?

format input into neatly aligned columns.

▸ Explain your own column command →

column examples, explained

$ column -t -s, data.csv

  • columnformat input into neatly aligned columns
  • -tcreate a table, determining columns from the input
  • -s,use the given characters as input field separators
  • data.csvan argument passed to the command

$ mount | column -t

  • mountattach a filesystem to the directory tree (or list current mounts)
  • |pipe — send this command's output into the next command
  • columnformat input into neatly aligned columns
  • -tcreate a table, determining columns from the input

column flags & options

-tcreate a table, determining columns from the input
-suse the given characters as input field separators
-ouse the given string to separate output columns
-cformat output to fit this display width
-ndo not merge multiple adjacent delimiters into one

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.