From owner-freebsd-current Fri Oct 26 2:20:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id DBD1237B405 for ; Fri, 26 Oct 2001 02:20:15 -0700 (PDT) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id f9Q9Jo280290; Fri, 26 Oct 2001 10:19:50 +0100 (BST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by grimreaper.grondar.org (8.11.6/8.11.6) with ESMTP id f9Q8fsY43205; Fri, 26 Oct 2001 09:41:54 +0100 (BST) (envelope-from mark@grondar.za) Message-Id: <200110260841.f9Q8fsY43205@grimreaper.grondar.org> To: Kelvin Ng Chee Hoong Cc: freebsd-current@FreeBSD.ORG Subject: Re: Change Prompt References: <5.1.0.14.0.20011026120935.00a4e4e0@po.pacific.net.sg> In-Reply-To: <5.1.0.14.0.20011026120935.00a4e4e0@po.pacific.net.sg> ; from Kelvin Ng Chee Hoong "Fri, 26 Oct 2001 12:18:36 +0800." Date: Fri, 26 Oct 2001 09:41:54 +0100 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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