From owner-freebsd-current Thu Oct 25 21:12:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from scythe.pacific.net.sg (scythe.pacific.net.sg [203.120.90.37]) by hub.freebsd.org (Postfix) with ESMTP id 2D3ED37B403 for ; Thu, 25 Oct 2001 21:12:24 -0700 (PDT) Received: from smtp2.pacific.net.sg (smtp2.pacific.net.sg [203.120.90.169]) by scythe.pacific.net.sg with ESMTP id f9Q4CM805337 for ; Fri, 26 Oct 2001 12:12:22 +0800 Received: from ap_280868.pacific.net.sg ([203.208.143.98]) by smtp2.pacific.net.sg with ESMTP id f9Q4CMv32505 for ; Fri, 26 Oct 2001 12:12:22 +0800 Message-Id: <5.1.0.14.0.20011026120935.00a4e4e0@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 12:18:36 +0800 To: freebsd-current@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-current@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-current" in the body of the message