How to go back to the previous directory in Ranger

cd-commandranger

In Ranger you can go to a directory with g. When you type g it gives you a list of places you can very easily go. For example g, and then p takes me to /tmp. How do I get back to the directory I was in? What's the ranger equiv of cd -?

When I type g I do not see the option to cd back.

Best Answer

From any directory,

  • H goes backwards (where you were)
  • L goes forwards.
Related Question