From owner-freebsd-questions Fri Oct 26 2:25:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) by hub.freebsd.org (Postfix) with ESMTP id A40BD37B40B for ; Fri, 26 Oct 2001 02:25:14 -0700 (PDT) Received: from smtp2.pacific.net.sg (smtp2.pacific.net.sg [203.120.90.169]) by sunny.pacific.net.sg with ESMTP id f9Q9PCi03119 for ; Fri, 26 Oct 2001 17:25:12 +0800 (SGT) Received: from ap_280868.pacific.net.sg ([203.208.143.98]) by smtp2.pacific.net.sg with ESMTP id f9Q9PCv14422 for ; Fri, 26 Oct 2001 17:25:12 +0800 Message-Id: <5.1.0.14.0.20011026173002.00a44de0@po.pacific.net.sg> X-Sender: nchee_hoong@po.pacific.net.sg X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 26 Oct 2001 17:31:28 +0800 To: questions@freebsd.org From: Kelvin Ng Chee Hoong Subject: Change Prompt Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-questions" in the body of the message