This is an old revision of the document!
Customizing Your Terminal's Prompt
You will need to edit your ~/.bashrc
file using a text editor (e.g., emacs, vim, nano, gedit, …)
You will define a PS1 variable and export it.
MORE DIRECTIONS TO COME…
Here are some examples prompts:
PS1='[\u@\h \W]\$ '
# With Color:
PS1="\[\e[0;35m\]\u@\h \W\$ \[\e[00m\]"
PS1="\h:\W \u\$" export PS1="\[\e[1;31m\]\h:\W \u\$ \[\e[00m\]"