LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   console prompt problem( bash-3.1#) (https://www.linuxquestions.org/questions/linux-newbie-8/console-prompt-problem-bash-3-1-a-681214/)

praneethgv 11-05-2008 12:59 AM

console prompt problem( bash-3.1#)
 
Hi,

I have a problem in my console prompt. It shows
"bash -3.1#", i need it to back like "[root@localhost]#".
Can any one help me plzzz.

Reagrds
praneeth

Disillusionist 11-05-2008 01:29 AM

export PS1='[\u@\h]#'

To make it permanent, you will need to edit your ~/.bashrc script


All times are GMT -5. The time now is 04:46 AM.