Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!mit-eddie!mit-vax!eagle!harpo!seismo!hao!hplabs!sri-unix!DEPSTEIN@bbng From: DEPSTEIN%bbng@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: shell enhancement for changing directories Message-ID: <14392@sri-arpa.UUCP> Date: Wed, 7-Dec-83 11:14:00 EST Article-I.D.: sri-arpa.14392 Posted: Wed Dec 7 11:14:00 1983 Date-Received: Sat, 10-Dec-83 02:28:58 EST Lines: 12 If you use "pushd newdir" instead of "cd newdir" then the new directory is added to your directory stack. You can then toggle between your current and previous directory by giving a "pushd" without any arguments. (It swaps the top two args on the stack and leaves the rest in order). Dave Epstein depstein@bbn-unix ...decvax!bbncca!depstein P.S. The command "dirs" shows you the directory stack and is a lot faster than "pwd" for figuring out where you are.