When I install the Ubuntu server and ssh to the server, the default shell is bash.
It looks like below.
I prefer to have a colorful terminal window. So I goole it and find the solution:
- open ~/.bashrc in an editor
- copy this and add it at the end of .bashrc file:
- save the file and restart bashrc:
After that, the terminal window changed as below:
The user name, host name, path have different colors.
There is option to use bash’s official color scheme.
~/.bashrc in text editor and uncomment line:
Save then execute source ~/.bashrc
The terminal window will be changed to :
It has color promot, but it is not that easy to read.