tags:

views:

38

answers:

2

I am trying to add the alias ll = "ls -l", and I am wondering how can I load it every time I login to linux.

+1  A: 

You can add it to your ~/.bashrc file in your home directory.

For more information on .bashrc and the likes, see this question.

cschol
This gave me the answeR: http://stackoverflow.com/questions/415403/whats-the-difference-between-bashrc-bash-profile-and-environment/415444#415444
Doug
+1  A: 

In addition to adding it to ~/.bashrc (which only affects the current user), it can be added to /etc/profile, which will affect all users upon login.

Alex