Path: utzoo!attcan!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: Changing directories in ksh... Message-ID: <8214@brl-smoke.ARPA> Date: 5 Jul 88 04:07:20 GMT References: <5318@dasys1.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <5318@dasys1.UUCP> pepper@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; }