How to align columns in output from a UNIX command? It's column. Try for example echo -e "aaaaa bbbbbbb\ncc ddd" | column -t.