From: utzoo!decvax!harpo!zeppo!whuxk!houxi!deimos!ariel!houti!lime!burdvax!puder Newsgroups: net.unix-wizards Title: access to the dirs stack Article-I.D.: burdvax.142 Posted: Tue Sep 7 13:59:36 1982 Received: Wed Sep 8 05:48:45 1982 We have figured out aliases for cd, pushd and popd that make the directory stack available in a shell variable. This means that you can: cp file $ds[2] to copy a file to the directory you would be in if you then did popd. Not only that, but the directory stack can be inherited by subshells! If this generates interest, I will post to net.sources.