Changing prompt

User Elisej a at zeos.net
Tue Mar 28 15:39:54 UTC 2006


On Tue, Mar 28, 2006 at 07:24:05AM -0300, Rodrigo G. Tavares de Souza wrote:
> Hi,
> 
>   How could I show the path on prompt or see colored files when I make a ls 
> command?
> 
> Best Regards,
> Rodrigo Souza
> Sao Paulo - Brazil

The first depends on the shell used. For example, in bash do:
export PS1='\w>'

All about prompt is described in bash(1), tcsh(1) and so on.

Use
ls -G
for colored files
or set CLICOLOR and CLICOLOR_FORCE environment variables for the same. For example, in bash type:
export CLICOLOR=
export CLICOLOR_FORCE=

All about this is described in ls(1).

Best Regards,
Elisej Babenko
Kiev
Ukraine


More information about the freebsd-questions mailing list