This question already has an answer here:
I was trying to setup a permanent alias. but
~/.bash_aliases file not found on my system. I have checked the
bashrc file and it shows
bash_aliases are enabled. I tried creating a new file in the same name in home directory and putting the aliases. But it also didn't work. Any solution to set a permanent alias?
Also i would like to know whether I can set an alias for shell that I created and it is residing in some other path. Thanks in advance.