Originally Posted by sunil.amperayani
I dont know what I did in linux .... but suddenly the prompt is like not like earlier i..e root@localhost it is giving as -bash-3.1
could you ppl help me to get back my old same prompt..!!!
You changed something, either your /etc/profile, your $HOME/.profile, or your $HOME/.bashrc. Since you don't say what "Linux" you're running, or give any idea what you did, put this:
PS1='$(ppwd \l)\u@\h:\w> '
into one of those files.