alias and .bashrc
Posted by: confused1
Posted on: 2006-05-14 04:03:00
I'm trying to make some alias for some commands/programs and save them to .bashrc so that each time I login I could use those aliases, but for some reason aliases don't work in .bashrc.
For example if I wanted to assign 'ls -l --color=auto' to 'll' I would save this command in my /home/myusername/.bashrc
alias ll='ls -l --color=auto'
If I want to run a script or a program without specifying path to them I would put it in any of the echo $PATH directories, but since /home/myusername/bin is not one of them and I don't have write access to any other bin directories how can I do that? Only choise is using aliases? How do I save aliases then, so that I don't have to type them each time I login?