Results 1 to 3 of 3
The Linux OS is CentOS 5.2. Now, when logging in the OS using "root", the prompt is "-bash-3.2# ". How can I set back "[root@unidata ~]# "? Thank you!...
- 11-30-2009 #1
How to reset back "[root@unidata ~]# "?
The Linux OS is CentOS 5.2. Now, when logging in the OS using "root", the prompt is "-bash-3.2# ". How can I set back "[root@unidata ~]# "? Thank you!
- 12-01-2009 #2Find and comment out any existing lines for PS1.Code:
su - nano /root/.bash_profile
Add this
Tip: Prompt magicCode:export PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] '
- 12-01-2009 #3


Reply With Quote

