Linux System Administration
Shells
The Prompt
How can we make these changes permanent?
The prompt is originally set in /etc/bashrc
We can export the new prompt in ~/.bash_profile
export PS1="
whatever
"
where
whatever
is your choice of prompt.
current default :
PS1="[\u@\h \W]\\$ "
for fun:
export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\H> \[\e[0m\]"
Prev
Page 10
Next