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'<br />
It provides a colorful terminal look.
How to fix the problem of .bashrc not loading?
If you always want the content of your .bashrc file processed, you might add something like the following to your .bash_login file:
if [ -f ~/.bashrc ]; then<br />
. ~/.bashrc<br />
If you don’t have this file, just add a new one at your home directory.
Save the content and exit the terminal.
Re-connect the VPS. It works.