prompt
Ion-Mihai Tetcu
itetcu at apropo.ro
Mon Jan 12 10:12:51 PST 2004
On Mon, 12 Jan 2004 15:22:58 -0200
"Zuckerman" <zuckerman at terra.com.br> wrote:
Please don't use reply for a new message, it trashes threads viewing.
> Hi,
>
> How I change the prompt in console to [localhost at user /pathdir]# ?
It depend on the shell you use.
For (t)csh you set the prompt variable in ~/.cshrc
set prompt = "`hostname -s`>%/# "
gives:
it>/usr/ports# pwd
/usr/ports
it being the hostname.
do a man csh and search for `prompt' (press / and write prompt and then
ENTER; for search again press / and ENTER) untill you get to the
`prompt' in the variables section, where you can see all teh options.
--
IOnut
Unregistered ;) FreeBSD user
More information about the freebsd-newbies
mailing list