PS1 - is the current bash shell prompt
To display current bash shell prompt setting $ echo $PS1
To print the current settings from your ~/.bashrc $ grep PS1 ~/.bashrc
To customise the bash prompt to ilugc > temporarily $ PS1="\e[1;32milugc> \e[m"
To display customised colours for bash prompt $ PS1="\e[1;32milugc> \e[m" $ PS1="\e[1;33milugc> \e[m" $ PS1="\e[1;35milugc> \e[m" $ PS1="\e[1;36milugc> \e[m" $ PS1="\e[1;37milugc> \e[m" $ PS1="\e[1;38milugc> \e[m"
To make the above bash prompt permanently $ vim ~/.bashrc comment the old entries with PS1 then add the entry PS1="\e[1;32milugc> \e[m" : wq! save and exit
then $ source ~/.bashrc
To make system wide $ sudo vim /etc/profile comment the old entries with PS1 then add the entry PS1="\e[1;32milugc> \e[m"
: wq! save and exit
then # source /etc/profile
To set emoji in bash prompt $ PS1="\e[1;32milugc🎄 \e[m" PS1="\e[1;32milugc🦌 \e[m"
regards, T.Dhanasekar