From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 13:52:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7023F16A4CE for ; Sat, 1 Nov 2003 13:52:25 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 556B143FBD for ; Sat, 1 Nov 2003 13:52:24 -0800 (PST) (envelope-from andi_payn@speedymail.org) Received: from [10.1.0.9] ([68.65.235.109]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031101215227.CDBS21850.mta10.adelphia.net@[10.1.0.9]>; Sat, 1 Nov 2003 16:52:27 -0500 From: andi payn To: SWIT In-Reply-To: <001c01c3a082$afab7d30$0100000a@Biggie> References: <200310111243.08231.jason@dictos.com> <035501c3909c$3d1dd8d0$a4b826cb@goo> <001c01c3a082$afab7d30$0100000a@Biggie> Content-Type: text/plain Message-Id: <1067723542.825.332.camel@verdammt.falcotronic.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 01 Nov 2003 13:52:22 -0800 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: color to files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 21:52:25 -0000 On Sat, 2003-11-01 at 06:16, SWIT wrote: > Is there a way to make the directories to show in color when doing a ls ? > thanks > mark Did you try a "man ls"? It should give you two options: use the -G parameter, or set the CLICOLOR environment variable. If you don't know how to do this (or how to make it permanent--as a hint, try adding "export CLICOLOR=" in ~/.bashrc, if bash is your usual shell), come back and ask for details. If this doesn't work for you--or if it works on the text console but not in X, or if it only works in some X terminal emulators but not in others--make sure you've read the ls manpage's section on CLICOLOR and dealt with the termcap issue. If you don't like the colors, read the LSCOLORS section of the manpage. You can also install the GNU fileutils port/package (/usr/ports/sysutils/fileutils), and "gls --color=auto" should colorize things in that vibrant Stallman style that linux people are used to. Then you can alias ls to "gls --color=auto" in your .bashrc, etc.