Command aliases on shell


#1

I am quite a seasoned unix sysadmin but the lack of man pages and restricted shell use on dreamhost made me resort to this.

How the heck can I set a command alias like

ll=“ls -al”

and have it take effect every time I login.

Obviously, even though my default shell is bash, .bashrc is only taking effect at the time of non-interactive login’s. I need to have it effective when I logged in to the shell. Linux is not my strongest point in the unix world, so be gentle :slight_smile:

Thanks in advance.


#2

EDIT: try .bash_profile


#3

Thank you.

worked like charm :slight_smile: