Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 19:53:02 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Andre` Niel Cameron <AndreC@Axxs.net>
Cc:        free bsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Color help;)
Message-ID:  <20011108195302.A775@hades.hell.gr>
In-Reply-To: <012e01c163de$a056fef0$a50410ac@olmct.net>
References:  <00a801c163d2$60ce0140$a50410ac@olmct.net> <20011102205328.E6967@raggedclown.net> <00f501c163d9$150cad90$a50410ac@olmct.net> <20011102211414.B7554@raggedclown.net> <012e01c163de$a056fef0$a50410ac@olmct.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 02, 2001 at 03:40:34PM -0500, Andre` Niel Cameron wrote:
> Nope,  The script looks like this:
>
> ls -alc
>
> thats it...

From the manpage of ls(1), you can read:

     CLICOLOR   Use ANSI color sequences to distinguish file types.
		See LSCOLORS below.  In addition to the file types
		mentioned in the -F option some extra attributes
		(setuid bit set, etc.) are also displayed.  The
		colorization is dependent on a terminal type with the
		proper termcap(5) capabilities.  The default
		``cons25'' console has the proper capabilities, but to
		display the colors in an xterm(1), for example, the
		TERM variable must be set to ``xterm-color''.  Other
		terminal types may require similar adjustments.
		Colorization is silently disabled if the output isn't
		directed to a terminal unless the CLICOLOR_FORCE
		variable is defined.

Pay attention to those last three lines.  Then read the description of
the -C option of FreeBSD's ls(1) command.

You could probably have found what you needed with a bit of research
in the manpages :-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011108195302.A775>