[NTLUG:Discuss] How do I ....

MadHat madhat at unspecific.com
Fri Apr 7 15:04:51 CDT 2000


Kelly Scroggins wrote:
> 
> Make the directory listing in color?
> 
> I know how to type in a command for this :
> ls --color
> But I've seen some systems that will do this when I type :
> ls
> 
> Is this done with an alias?

alias ls='ls --color'

and add it to the ~/.bashrc (for bash) or ~/.profile (for ksh or
...ummm....) or ~/.chsrc (for tcsh or csh) depending on what shell you
use.

-- 
%_=split';','2e;hac;40;not;64;ju;66; Perl ;68;st a;6f;ker;75;her';
print map $_{unpack "H2",$_}, split //,
'madhat at unspecific.com'
# aka Lee Heath, but don't tell anyone.




More information about the Discuss mailing list