I'm used to putting my alias in .bashrc
, but Ubuntu suggests putting them in .bash_aliases
. So that's fine, I put my alias there in the .bash_aliases
file. However I want to run my aliases once I log in. In order to do this I need to run bash. Looking around, I've read that I need to put them in .bash_profiles
file. If that's the case I believe I need to edit some more files and I'm unclear from that perspective.
What is the simplest way to run aliases on Ubuntu server without running bash each time? I could just run bash and be done with it, but that's one more command.
Any thoughts or ideas would be appreciated.