Display Output as a Table

This is a simple command to format Linux CLI output to be more readable.

<command> | column -t

That will guess how things are separated.  If there is a specific delimiter, you can specify it by doing the following

Put output into a table, specify the delimiter:

cat /etc/passwd | column -t -s:

 

NOTE: This doesn’t work with interactive output.  For example, you can’t “tail -f file.log | column -t”