32 lines
546 B
Markdown
Raw Normal View History

---
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/)