[arch-general] Colorized Output Listing

Heiko Baums lists at baums-on-web.de
Thu Aug 19 21:10:07 EDT 2010


Am Fri, 20 Aug 2010 02:48:34 +0200
schrieb Phillip Thelen <viirus92 at yahoo.de>:

>  Have you tried adding this to your .bashrc?
> 
> alias ls='ls --color=auto'
> 
> basically just tells bash to execute "ls --color=auto" instead of
> just ls.

Drop the "=auto" and you'll get colorized listings with less, too.

ls --color=auto | less  =>  usual b/w output
ls --color | less  =>  colorized output

Heiko


More information about the arch-general mailing list