From a98c9852c877136f4eeec3f67098569042e866cc Mon Sep 17 00:00:00 2001 From: awais305 <33759138+awais305@users.noreply.github.com> Date: Tue, 30 Oct 2018 08:21:41 +0500 Subject: [PATCH] Added an argument to the file (#20484) --- guide/english/bash/bash-cd/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guide/english/bash/bash-cd/index.md b/guide/english/bash/bash-cd/index.md index 8eadecf0ca..7b37acfd99 100644 --- a/guide/english/bash/bash-cd/index.md +++ b/guide/english/bash/bash-cd/index.md @@ -10,6 +10,7 @@ There are a few really helpful arguments to aid this: - `.` refers to the current directory, such as `./projects` - `..` can be used to move up one folder, use `cd ..`, and can be combined to move up multiple levels `../../my_folder` +- `-` takes you back to the previous directory you were working on. For example, `cd -` - `/` is the root of your system to reach core folders, such as `system`, `users`, etc. - `~` is the home directory, usually the path `/users/username`. Move back to folders referenced relative to this path by including it at the start of your path, for example `~/projects`. - `-` can be used to move to the previous directory. For example, you are in `/A`, then cd to `/B`, use `cd -` and you are back to `/A`