diff --git a/guide/english/bash/bash-cd/index.md b/guide/english/bash/bash-cd/index.md index 7880b6eb4e..a1e26084ac 100644 --- a/guide/english/bash/bash-cd/index.md +++ b/guide/english/bash/bash-cd/index.md @@ -20,7 +20,7 @@ There are a few really helpful arguments to help with this: - `~` 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` - `~[number]` will cd to that entry from the output of `dirs` directories can be pushed or popped to the 'dirs' stack using `pushd` and `popd` respectively. -- Typing only `cd` will move to the home directory works same as `cd ~` +- Typing only `cd` will move to the home directory works same as `cd ~`. `cd $HOME` will also move to the home directory. - Typing 'pwd' will show you which directory you are currently working in. ### Example