column
ShellFundamentals In simulator In real LinuxFormat input into aligned columns
Name: column
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
column formats input into neat columns. -t detects the fields of each line and aligns them as a table, -s sets the input separator; great for making output or CSV readable.
Syntax
column [OPTION]... [FILE]...Common options
| -t / --table | Create a table |
| -s / --separator SEP | Input separator |
| -o / --output-separator STRING | Separate output columns with STRING (two spaces by default) |
| -N / --table-columns NAMES | Name the columns (comma-separated); shown as a header |
| -x / --fillrows | Fill rows before columns |