[ilugc] Column Name display in terminal

  • From: goda.abishek@xxxxxxxxx (Abishek Goda)
  • Date: Wed Feb 10 13:57:59 2010

Hi,

Ahh...good! I don't understand the difficulty in understanding this
question. Anyways, let me break it up in to simpler sentences as
you've asked for. Is it possible that we make the terminal, by
default, display the output column names [like PID MEM etc] when you
run a command [and that could be any command].

For example: ls -lh returns an output without the column names. I
would want to see if there is a way to display the column names like
PERMS, OWNER, GROUP, FILENAME, SIZE etc by default.

I would like to believe that bash/shell is a simple means to run
commands that do your job. There is absolutely no reason why
bash/shell has to understand the outputs or interpret them for you. I
just might do iceweasel from bash. how is it supposed to categorize
all those gtk warning messages i might be getting? Or even know they
are warnings in the first place.

I think we should understand what to expect before looking for it. On
the other hand, its a better idea to see if the individual commands
have such options. I am sure many commands do. Or take their code and
edit that portion in. Its probably not worth trying a global wrapper
script to interpret all the commands that are already there and will
be added.

What I still don't get is why would you need bash/shell to do this for you?



Abishek Goda

Other related posts: