I use SSH to login to a remote machine. I can save the alias like so, in .bashrc:
alias l='ls -lla'
but when I logout and SSH in again, the alias does not exist. It is set properly, however, in .bash_profile and in .bashrc. Why is this happening? Every time I SSH, I have to do
. ~/.bashrc and I do not want to do that. What can I do to fix this?