From 4d7025569603e20c446dbdf88bc86af4a5c78542 Mon Sep 17 00:00:00 2001 From: Odin Dutton Date: Tue, 8 Oct 2019 10:17:51 +1100 Subject: [PATCH] Add documentation for `cd -` --- docs/commands/cd.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/commands/cd.md b/docs/commands/cd.md index 535f1d16eb..2e5d933f47 100644 --- a/docs/commands/cd.md +++ b/docs/commands/cd.md @@ -23,3 +23,11 @@ If you didn't already know, the `cd` command is very simple. It stands for 'chan /usr> cd /home/username> ``` + +Using `cd -` will take you to the previous directory: + +```shell +/home/username/Desktop/super/duper/crazy/nested/folders> cd +/home/username> cd - +/home/username/Desktop/super/duper/crazy/nested/folders> cd +```