Changing directories in ksh...

Doug Gwyn gwyn at brl-smoke.ARPA
Tue Jul 5 14:07:20 AEST 1988


In article <5318 at dasys1.UUCP> pepper at dasys1.UUCP (Angeli "Ms. Pepper" Wahlstedt) writes:
>		alias down 'cd \!^; ls'
>But, here's the fun part...how do I do the same thing in ksh??

Since ksh is advertised as being compatible with the Bourne shell,
I would simply define a shell function:
	down(){ cd $1; ls; }



More information about the Comp.unix.questions mailing list