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.
views:
38answers:
2
+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
2010-10-17 04:27:02
This gave me the answeR: http://stackoverflow.com/questions/415403/whats-the-difference-between-bashrc-bash-profile-and-environment/415444#415444
Doug
2010-10-17 05:05:32
+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
2010-10-17 04:29:51