aliases for use in ubuntu

alex radsky at ncia.net
Thu Jan 5 02:53:02 UTC 2006


On Wed, 2006-01-04 at 10:35 -0400, Derek Broughton wrote:
> Paul Sladen wrote:
> 
> > On Tue, 3 Jan 2006, alex wrote:
> > 
> > Hello Alex,
> > 
> >> (all aliases are  in /root/.bashrc in each Linux)
> >> alias ubu-='cd; umount -l /mnt/da10'
> > 
> > There are two things:
> > 
> >   (1) put the aliases in your *own* '/home/alex/.bashrc'.
> 
> Or into /etc/bash.bashrc - which should also work in the other distros he
> mentioned.
> -- 
> derek
> 
> 

Got it!    It seems that in ubuntu, the aliases have to be
in /etc/bash.bashrc. and they need sudo in strategic places.
Also, I had to replace all the /mnt/ commands with /media/,
for instance,   /media/hda1 instead of /mnt/da1


I couldn't get suitable results when the aliases were in
/root/.bashrc or /home/alex/.bashrc.

Thanks for the assist.
alex





More information about the ubuntu-users mailing list