Comments on Linux column Command Tutorial for Beginners (with Examples)

Sometimes, while working on the command line in Linux, you might want to display the contents of a file in columnar format. You'll be glad to know there's a command line utility in Linux that lets you do this. The tool's name is column.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Natalie

Cómo añado una columna más a mi archivo?

By: Anthony

I would like to know how to make use of the --tree option.... looks very interesting!

By: Me

It seems intuitive that:

echo -e "a\nb\nc\nd\n" | column -c 2

 

Should produce:

a b

c d

 

But it does not.

 

Explaining why would be useful, as would giving an example that does.