Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2004, 10:32 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 25

Rep: Reputation: 15
root turned to bash-2.05b

Hello, I have no idea what went wrong but my root account now changed to bash-2.05b and it doesn't display any path directories like how it was before ( root@/new ). Anyone know how to fix it?
Old 07-24-2004, 10:42 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
The format for the prompt is srt by the PS1 environment variable. So for instance:

export PS1='[\u@\h \w]\$ '

should get you your old prompt back. Put it in root's .bash_profile to make it stick (just like setting the PATH). You probably should figure out what happened to root's configuration since modifications of it may indicate a system break in, particularly if you are running a server. More likely though you just messed something up yourself, but it never hurts to be sure.
Old 07-24-2004, 10:43 PM   #3
LQ Newbie
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
woohoo!! thank you so much


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
$LINENO can't be modified in bash 3.0, while it can be in bash 2.05b Darwish Linux - Software 1 11-07-2005 03:57 PM
bash-2.05b$ instead of user@domain after more quotes. RoaCh Of DisCor Slackware 3 12-17-2004 12:17 AM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 07:42 PM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 11:43 AM
Configure Bash 2.05b JCScoobyRS Linux - Software 9 12-15-2003 05:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration