HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pwd — Print the name of current/working directory. More information: <https://www.gnu.org/software/coreuti

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecurrentcommandpwdnamecliprintworking

Problem

How to use the pwd command: Print the name of current/working directory. More information: <https://www.gnu.org/software/coreutils/manual/html_node/pwd-invocation.html>.

Solution

pwd — Print the name of current/working directory. More information: <https://www.gnu.org/software/coreutils/manual/html_node/pwd-invocation.html>.

Print the current directory:
pwd


Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
pwd {{[-P|--physical]}}


Display help:
pwd --help

Code Snippets

Print the current directory

pwd

Print the current directory, and resolve all symlinks (i.e. show the "physical" path)

pwd {{[-P|--physical]}}

Display help

pwd --help

Context

tldr-pages: common/pwd

Revisions (0)

No revisions yet.