When I make aliases, I put them into the /etc/bashrc file, so that no matter who I login as, I always have them. Here is how I formatted my aliases: alias ls="ls -Fa --color" This would alias the "ls" command to show all dot files in color. Othere commands should be similar such as: alias rm="rm -rf" This would alias the "rm" command to not ask for permission to delete and do it recursively (including subdirs, maybe a bad thing). On Thu, 21 Oct 1999, prabhakar+nitika wrote: > Hi everyone: > > I am trying to set up some aliases for frequently used commands. > I have tried adding them to ~/.bashrc and /etc/profile and /etc/bashrc, > but have not had any luck in getting bash to recognize the aliases. > Would there be any reason at all that my ~/.bashrc would not get > read by bash. Does anyone have any ideas as to what I am doing wrong > here?? > > Thanks > prabhakar > > > >
- [newbie] Bash and Aliases problem prabhakar+nitika
- [newbie] Intel 740AGP video WH Bouterse
- Re: [newbie] Intel 740AGP video John Aldrich
- Re: [newbie] Intel 740AGP video Guillermo Belli
- Re: [newbie] Intel 740AGP video Ben
- Re: [newbie] Bash and Aliases problem John Aldrich
- [newbie] Bash and Aliases problem prabhakar+nitika
- Re: [newbie] Bash and Aliases problem John May
- Re: [newbie] Bash and Aliases problem Justin Rickert
- Re: [newbie] Bash and Aliases problem yacketta
- Re: [newbie] Bash and Aliases problem Justin Rickert
- Re: [newbie] Bash and Aliases problem Axalon Bloodstone
- Re: [newbie] Bash and Aliases problem John Aldrich
- Re: [newbie] Bash and Aliases problem Steve Philp
- Re: [newbie] Bash and Aliases problem John Aldrich
- Re: [newbie] Bash and Aliases prob... Axalon Bloodstone
- Re: [newbie] Bash and Aliases problem John Aldrich
- Re: [newbie] Bash and Aliases prob... Axalon Bloodstone