Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a tool which outputs four columns of data with a space between each. However, the data items are variable length, and it's hard to read what's going on.

Is there a way I can line the output up using linux utilities to tabulate it for easy reading?

share|improve this question

try this:

cat $DataFile | column -t

in debian column is in package bsdmainutils. and of course you can also use column -t $DataFile

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.