> alias mcd='mount /dev/hdb /cdrom|cd /cdrom'
try alias mcd='mount /dev/hdb /cdrom && cd /cdrom'
--
Robert Vollmert [EMAIL PROTECTED]
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
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
3 matches
Mail list logo