OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: ls colors

From: Andreas Kähäri (akfreeshell.org)
Date: Thu Jul 17 2003 - 13:19:25 CDT


On Thu, Jul 17, 2003 at 02:12:28PM -0400, Eric Moore wrote:
> on 7/17/03 1:58 PM, Augusto Kojima at augustokojimayahoo.com.br wrote:
>
> > I need help for set colors in command ls .
> > I use ls --color !!
>
> Typically the problems are:
>
> Incorrect Terminal Setting. Try, TERM=wsvt25.
>
> Presuming you are using the bash shell,
>
> - read the, "Bash-Prompt-HOWTO," to change colors.
>
> - create an alias in /etc/profile or ~/.profile, alias ls="colorls -FG"
>
> - if you want some sort of distinctive prompt, set the environmental
> variables:
>
> PS1="\[\033[1;30m\]\u\h:\w $\[\033[0m\]
> SUDO_PS1="\[\033[1;31m\]\u\h:\w #\[\033[0m\]

I believe you're in the wrong OS...
There's no -G option to ls.

I think the OP wants gls which is part of the misc/fileutils port.

Andreas

--
Andreas Kähäri
Essex, England