So at work I have two web servers that I am able to
Both are RHEL 6.5
When I log into one, it shows this:
When I log into the other one it shows:
I find it way more elegant when it shows the first one. How do I switch between the two? Can someone explain this to me?
After running this
echo $PS1 these are the results
-bash-4.1$ echo $PS1 \s-\v\$
[appadmin@ldvcatweb01 /]$ echo $PS1 [\u@\h \W]\$
After checking for the differences between both home directories. I found that there was no
.bash_profile in the home directory.
So I copied the ones from the previous server.
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions
I am guess that it just pulls the default bash settings from
Thanks for all your help.