On Mon, 19 Jun 2000, SoloCDM wrote:
> "Carey F. Cox" wrote:
> >
> > For bash scripts you will need to use a function as follows...
> >
> > $ function cdl { cd ~/$@ }
>
> Thanks, but I'm referring to the command-line -- not a script.
>
A script is no more than a bunch of command line "commands" put
together. Stick the above in your ~/.bashrc and it will work.
I have tried it already. Alternatively, you can type it on the
"command line" everytime you login, but that would be tedious, so
stick it in your startup "script," ~/.bashrc.
Hope that clarifies things.
Carey
--
======================================================================
<> Carey F. Cox, PhD | PHONE: (409) 880-8770 <>
<> Assistant Professor | FAX: (409) 880-8121 <>
<> Dept. of Mech. Eng. | EMAIL: [EMAIL PROTECTED] <>
<> Lamar University | WEB: N/A <>
======================================================================
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.