Results 1 to 7 of 7
hi,
i am using RedHat 9....
somehow the terminal prompt has changed and also the panel is missing....
how do i change it back to normal prompt (i remember there ...
- 04-29-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 41
terminal prompt
hi,
i am using RedHat 9....
somehow the terminal prompt has changed and also the panel is missing....
how do i change it back to normal prompt (i remember there used to be some command to change prompts...)
my original terminal used to be root and now it is bash-2.05b#.......
how do i get back my panel....
- 04-29-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Add that line to your /root/.bash_profile, that should do the trick.Code:export PS1='\u@\h:\w\$ '
serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 04-29-2005 #3Just Joined!
- Join Date
- Mar 2005
- Posts
- 41
i think i have deleted that file by mistake.....
maybe thats the reson why the shell promt has changed....
now what should i do.....
can any other option work for me....
- 04-29-2005 #4Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Code:echo "export PS1='\u@\h:\w\$ '" > /root/.bash_profile
serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 04-29-2005 #5Just Joined!
- Join Date
- Mar 2005
- Posts
- 41
it is not working....
the file .bash_profile is not present in tht root dir even after that command....
i tried tht command but nothing happened....
- 04-29-2005 #6Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
It's impossible.. edit /root/.bash_profile yourself.. with any editor you want.. it doesn't matter that its' not there, create it.
serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 04-29-2005 #7Linux Engineer
- Join Date
- Mar 2005
- Location
- Where my hat is
- Posts
- 765
It's a hidden file. How are you searching for it?
Originally Posted by anamikasoni Registered Linux user #384279
Vector Linux SOHO 6 / Vector Linux 7 RC 3.4


Reply With Quote
