Changing directories in ksh...
Angeli "Ms. Pepper" Wahlstedt
pepper at dasys1.UUCP
Mon Jul 4 16:36:01 AEST 1988
Normally, I'd have an alias in "csh" that looks like this:
alias down 'cd \!^; ls'
What it does is move to a subdirectory and prints it out. (I like to "see"
where I'm going, so to speak. :-)
But, here's the fun part...how do I do the same thing in ksh?? Shell
scripts ain't the answer, because once I get to a new directory, I want
to STAY there. Also, ksh's alias isn't as...ummm...err..."intelligent"
as csh's alias.
--
Angeli "Ms. Pepper" Wahlstedt
Big Electric Cat: ...!{sun!hoptoad,cmcl2!phri}!dasys1!pepper
Portal: ms-pepper at cup.portal.com
More information about the Comp.unix.questions
mailing list