using cd command in a file

L. Hirschbiegel lothar at tmcsys.UUCP
Tue May 21 08:10:28 AEST 1991


In article <1991May20.155136.25162 at ux1.cso.uiuc.edu> ceblair at ux1.cso.uiuc.edu (Charles Blair) writes:
>
>   I would like to get to a directory /me/A/B/C/D by just typing j.  I tried
>creating a file j with cd /me/etc in it, then chmod +x j.  It didn't work.

Sure it worked. In the subshell you were starting, which is obviously NOT
what you wanted ... (hint, hint:-)
Folks, isn't this a classic FAQ? Is there a FAQ for this newsgroup? 

>Thanks in advance.  I'm sure I'm overlooking something well-known.

You're right. ;-)

L. Hirschbiegel


-- 
-----------------------------------------------
L. Hirschbiegel, AEG - A84, Frankfurt (Germany) 
email: unido!aega84!lh     tel: -49-69-66414316  
-----------------------------------------------



More information about the Comp.unix.questions mailing list