Re: Aliases in .bashrc

1999-05-19 Thread Robert Vollmert
> alias mcd='mount /dev/hdb /cdrom|cd /cdrom' try alias mcd='mount /dev/hdb /cdrom && cd /cdrom' -- Robert Vollmert [EMAIL PROTECTED]

Re: Aliases in .bashrc

1999-05-19 Thread trapstep
Hi! First: Please don't write HTML-Mails. Plain text is smaller files and readable by everybody. > > alias mcd='mount /dev/hdb /cdrom|cd /cdrom' > Why do you use the pipe command? Simply type somthing like: alias mcd='mount /dev/hdb /cdrom ; cd /cdrom' and, if your cdrom is mentioned in /etc/fst

Aliases in .bashrc

1999-05-19 Thread Hans van den Boogert
I made the two following aliases in the .bashrc in my home directory alias mcd='mount /dev/hdb /cdrom' alias ucd='umount /cdrom' They work fine, but I also want to immediately jump to /cdrom when I mount a CD. Thus I ammended the mcd alias to read... alias mcd='mount /dev/hdb /cdrom|cd /cdro