From b3368db4e3b1a95833ca111a312ecdcc0ae4aeba Mon Sep 17 00:00:00 2001 From: dallyingllama <10049458+dallyingllama@users.noreply.github.com> Date: Mon, 11 Mar 2019 15:31:09 +0100 Subject: [PATCH] add pwd to bash guide, very common (#27341) * add pwd to bash guide, very common * updated the home directory path --- guide/english/bash/bash-pwd/index.md | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 guide/english/bash/bash-pwd/index.md diff --git a/guide/english/bash/bash-pwd/index.md b/guide/english/bash/bash-pwd/index.md new file mode 100644 index 0000000000..b6fb4b42ed --- /dev/null +++ b/guide/english/bash/bash-pwd/index.md @@ -0,0 +1,31 @@ +--- +title: Bash pwd +--- + +## Bash pwd + +`pwd` or 'print working directory' is a command on Unix-like operating systems to show you which directory you are currently in. + +### Usage + +```bash +pwd +``` +You can see the directory you are in. + +Most used options: +It is normally used without any options. + +### Example: +Determine which directory you are in. + +```bash +$ pwd +/users/username +``` +It looks like we are in the home directory. + +#### More Information: + +* [Wikipedia](https://en.wikipedia.org/wiki/Pwd) +* [Shapeshed](https://shapeshed.com/unix-pwd/)