Linux – change from bash shell prompt to regular shell prompt on centos

bashbootlinuxshell

my centos environment has just become bash shell prompt:

-bash-3.2#

how do I change it back to the usual # prompt? what places should I check for possibly modifications?

Update:
I was not clear in my question: the prompt used to be just a single # and supports more syntax(a different shell script than bash 3.2 perhaps)? I would like to switch back to that. for example, ll is not longer supported in this bash shell

Best Answer

set the PS1 environment variable, for more details: http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html

After your update: maybe there is an error while you enter terminal and load user scripts? try:

su - yourusername

and see if there is an error than.

Related Question