Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 09:41:54 +0100
From:      Mark Murray <mark@grondar.za>
To:        Kelvin Ng Chee Hoong <nchee_hoong@pacific.net.sg>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Change Prompt 
Message-ID:  <200110260841.f9Q8fsY43205@grimreaper.grondar.org>
In-Reply-To: <5.1.0.14.0.20011026120935.00a4e4e0@po.pacific.net.sg> ; from Kelvin Ng Chee Hoong <nchee_hoong@pacific.net.sg>  "Fri, 26 Oct 2001 12:18:36 %2B0800."
References:  <5.1.0.14.0.20011026120935.00a4e4e0@po.pacific.net.sg> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Please ask these questions on questions@freebsd.org

M

> Hi ;
>       I use bash shell in my FreeBSD machine . How do I change a promt from 
> "$" to "#" when I login as superuser  from normal user to root  ?
> 
> 
> my .bashrc script looks as following .....
> 
> PS1="[\u@\h: \w]\$ "
> alias ls='ls -F'
> alias cp='cp -i'
> alias mv='mv -i'
> alias rm='rm  -i
> 
> 
> Another question , what is the function of PS2 and when to use it ? Please 
> advise ....
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
-- 
o       Mark Murray
\_      FreeBSD Services Limited
O.\_    Warning: this .sig is umop ap!sdn

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




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