When I execute a command in Ubuntu, which results in a listing, I get results without the field names. Example is ls -l or ps l. I am not very experienced and always need to go digging through man pages and online documentation. And the names are quite crypcit already.Is there a way to turn on field name listing globally i.e. for all commands?Note: actually ps l shows field names, while ls -l does not. It is true that the second is very trivial. However, the question stands - is there a way to overwrite this behaviour?
How to set what field names are displayed in listings?
command line;configuration;ls;ps
As @StephaneChazelas stated this isn't possible. You're only other options are to modify the source (don't do this) and/or develop some wrapper scripts and aliases for yourself to assist.There is this technique for preserving the columns of ps in output that you're going to pipe to sort.sort but keep header line in the at the top?I would take this as an opportunity to hone your alias/scripting skills by putting together the pieces that you need. Much of using Unix/Linux is in tricking out your environment so that things are more accessible to your work habits and style.