Customize Your Bash Prompt

Published on March 06, 2007

My bash customizations with .bashrc and .bash_profile files

# Arul's bashrc customisations

export PS1='[33[31;1m[u@h][33[32;1mw[33[34;1m$ [33[0m'
export PATH=/usr/local/bin:/usr/sbin:/usr/ucb/bin:/usr/local/sbin:$PATH
export TERM=dtterm
export EDITOR=emacs


  • PS1: sets the colourful prompt
  • TERM: sets the terminal type (may be required f you want colours in emacs and vim)


.bashrc .bash_profile

Related Posts

If you have any questions, please contact me at arulbOsutkNiqlzziyties@gNqmaizl.bkcom. You can also post questions in our Facebook group. Thank you.

Disclaimer: Our website is supported by our users. We sometimes earn affiliate links when you click through the affiliate links on our website.

Published on March 06, 2007