[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash ls in color



On Mon, Jul 31, 2000 at 09:02:08PM -0700, Dale Morris wrote:
> what do I enter to get bash to default to showing files in color. I
> know I have to edit the /etc/bash.bashrc file, but don't remember the
> command to enter.
> thanks
> -- dale

	alias ls='ls --color=auto'

...which should be in the default .bashrc, but commented out.

Other handy ones (IMO):

	alias ll='ls -l'
	alias l='ls -lA'
	alias la='ls -a'
	alias lf='la -F'

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpPDDKqFE1Rh.pgp
Description: PGP signature


Reply to: