Date: Fri, 26 Oct 2001 12:18:36 +0800 From: Kelvin Ng Chee Hoong <nchee_hoong@pacific.net.sg> To: freebsd-current@FreeBSD.ORG Subject: Change Prompt Message-ID: <5.1.0.14.0.20011026120935.00a4e4e0@po.pacific.net.sg>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20011026120935.00a4e4e0>