re: ps aux output in cronjobs VIEW POST


The little known -o option also allows you to customize the output columns to fit your needs better.



Dammit: beat me to it.

A lot of commands have output-formatter options. Life-savers when you don't want to have to write complex output-filters or when you want more-predictable or useful output.

And, where commands don't have output-formatters, they often have analogous tools that provide similar output-types but in more-useful (for the use-case) outputs.

code of conduct - report abuse