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.
Continue reading “Color Scheme for the command line of bash”
I have the .bashrc file, but it is not loading when I connect my VPS through SSH.
The content of .bashrc looks like below:
alias ls='ls --color=auto'
It provides a colorful terminal look.
How to fix the problem of .bashrc not loading?
Continue reading “Bashrc is not loading? (Fixed)”
I want a shell script to run 50 times.
So I google it and got the answer. I put it here as a notes.
The script is for bash shell.
Continue reading “Shell While command”