From owner-freebsd-questions Thu Feb 22 12:10:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tethys.valhalla.net (tethys.valhalla.net [195.26.32.112]) by hub.freebsd.org (Postfix) with ESMTP id E042B37B401 for ; Thu, 22 Feb 2001 12:10:50 -0800 (PST) (envelope-from mark@tethys.valhalla.net) Received: by tethys.valhalla.net (Postfix, from userid 500) id E934133235; Thu, 22 Feb 2001 20:10:42 +0000 (GMT) Date: Thu, 22 Feb 2001 20:10:42 +0000 From: Mark Drayton To: Jacob Mahoney Cc: freebsd-questions@freebsd.org Subject: Re: Colorful directory listing Message-ID: <20010222201042.A10601@tethys.valhalla.net> Mail-Followup-To: Jacob Mahoney , freebsd-questions@freebsd.org References: <20010222165602.1841.qmail@web2301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010222165602.1841.qmail@web2301.mail.yahoo.com>; from kittenman_cm@yahoo.com on Thu, Feb 22, 2001 at 08:56:02AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have just installed FreeBSD on my computer, right > next to Windows 98. When I had Linux, I could type > the ls command and it would give me the directory > listing in color. FreeBSD doesn't have colors for the > directory listing, which makes it easier to read. Assuming you've installed FreeBSD 4.2 (latest release), 'man ls' shows that ls -G will give a colour listing (if you're using a colour-capable terminal type). As I've also come from Linux I have become used to executables being green, not the FreeBSD default of red. Putting this line into your .bash_profile (assuming you're using bash of course) will remedy that: LSCOLORS=4x5x2x3x2x464301060203 All this and more from the man page. HTH -- Mark Drayton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message