On Tue, Nov 15, 2005 at 12:59:53AM -0000, IraqiGeek wrote:
Hi all,
After finishing LFS, now I'm continuing with the BLFS book. I am having
an
issue with the prompt no matter which user I log on with. The prompt I am
getting, when logged in as root for example, is:
[EMAIL PROTECTED] : /root-bash-3.00#
This is after I commented the export PS1 lines in in bashrc and profile
in
/etc. I also double checked .bash_profile in the home directory of root,
which I created just yesterday, and it doesnt have any references to PS1.
How can I remove the "-bash-3.00 part from my prompt?
If you really want to tailor your prompt, just read man bash, it's all
there.
Mike
My problem is that if I customize the the prompt, I will still get a
[EMAIL PROTECTED]: /PATH before any prompt string that I set. Imagine this if I am
in a subdirectory, the prompt will be something like this:
[EMAIL PROTECTED]:/[EMAIL PROTECTED]:/etc/sysconfig/network-devices#
What can be the cause of the duplicate prompt, which is the first since I go
back to the prompt I mentioned in the original post when I comment the
export PS1 lines in /etc/bashrc and /etc/profile.
Regards,
IraqiGeek
Homepage: http://www.iraqigeek.com
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page