column
Linux Commands - Managing Files and Text

column

This command will format input into columns. Example: column -c 2 mytext Users Passwords fred 567kdv mary 90-jdjm tom dksowi Notice the columns are not lined up from the text. However, if you use the table option it is lined up. Options -c num sets the number of columns with num -t formats input as a table Here is an example of creating a table. column -t mytext Users Passwords fred 567kdv mary 90-jdjm tom dksowi