In which file do I create 'alias'es so that they're permanent everytime that I login?
Example: alias lst='ls -la | more'
And in that specific file at what location do I insert the 'alias'es text command/arguments. Top or Bottom? Can't seem to find any specifics on this and I don't want to start altering scripts that effect my environment...:)
I've noticed that I have some default 'alias'es already configured. I know how to 'unalias' these during that shell's session but how do I 'unalias' so that the changes are permanent?
I can't seem to find the file that holds these default 'alias'es. If there is one?
I suggest that you put it in ~/.bashrc.
Thanks for the response Dolda2000.
>I suggest that you put it in ~/.bashrc.
>Can you explain the reasoning behind this please?
Oh, sorry, I'm just so used to it. ~/.bashrc is sourced whenever a shell that is not a login shell is started. When a login shell is started, it sources ~/.bash_profile, but ~/.bash_profile usually chain-sources ~/.bashrc. Therefore, I think ~/.bashrc is the best choice. bash(1) explain this in more detail.
Thanks for the reply Dolda2000.
I'll do my homework.