Date: Fri, 26 Oct 2001 17:31:28 +0800 From: Kelvin Ng Chee Hoong <nchee_hoong@pacific.net.sg> To: questions@freebsd.org Subject: Change Prompt Message-ID: <5.1.0.14.0.20011026173002.00a44de0@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-questions" 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.20011026173002.00a44de0>