pwd
Print name of current/working directory. More information: <https://www.gnu.org/software/coreutils/pwd>.
Install
- All systems
-
curl cmd.cat/pwd.sh
- Debian
-
apt-get install coreutils
- Ubuntu
-
apt-get install coreutils
- Alpine
-
apk add coreutils
- Arch Linux
-
pacman -S coreutils
- Kali Linux
-
apt-get install coreutils
- CentOS
-
yum install coreutils
- Fedora
-
dnf install coreutils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install coreutils
- OS X
-
brew install coreutils
- Raspbian
-
apt-get install coreutils
- Dockerfile
- dockerfile.run/pwd
- Docker
-
docker run cmd.cat/pwd pwd
powered by Commando
Print name of current/working directory. More information: <https://www.gnu.org/software/coreutils/pwd>.
-
Print the current directory:
pwd
-
Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
pwd -P
© tl;dr; authors and contributors