ls and color

Dan Rue drue at therub.org
Sun Dec 7 10:06:01 PST 2003


On Fri, Dec 05, 2003 at 10:30:59AM -0800, Mike Maltese wrote:
> > Is there a how to on making ls show colors or a web pages. Thanks.
> 
> Well., there's ls -G, but you could have found that in the man page, right?
> 
Of course you don't want to have to type -G every time, right?  I have
an entry in my .bashrc file

alias ls='ls --color=auto'

Every time i run ls, it actually runs ls --color=auto.  Nice.  

dan


More information about the freebsd-questions mailing list