I want to describe a situation that happened two levels earlier. I use the bash shell to navigate through directories.
Say I started at the directory /home, and then I moved to the directory /home/Downloads, and finally I moved to /home/Videos.
Now I'll describe how to navigate to earlier directories:
To go to the previous directory type cd -.
And to go to the previous of previous directory type cd --
As you notice, previous of previous sounds odd.
Is there a replacement word for "previous of previous"? Or how would you paraphrase it to make it sound grammatical?
cd -. And to go to the directory before, type cd -- – Tushar Raj Jul 09 '15 at 17:54grandpreviousalso sounds unfamiliar. You can be more creative :) you are getting closer. – kenn Jul 09 '15 at 18:11directory historyin the bash shell. – kenn Jul 11 '15 at 09:35bashcannot navigate to the antipenultimate directory, which was news to me but it's 100% correct. – CR Drost Feb 27 '19 at 16:32bashfunctions to navigate between directories, I might think thatcd --take you toantepenaltimatedirectory, but it's wrong forbashenvironment.cd --takes you to$HOMEdirectory. – kenn Feb 27 '19 at 17:02