snippetbashTip
pwd — Print the name of current/working directory. More information: <https://www.gnu.org/software/coreuti
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:
pwdPrint the current directory, and resolve all symlinks (i.e. show the "physical" path):
pwd {{[-P|--physical]}}Display help:
pwd --helpCode Snippets
Print the current directory
pwdPrint the current directory, and resolve all symlinks (i.e. show the "physical" path)
pwd {{[-P|--physical]}}Display help
pwd --helpContext
tldr-pages: common/pwd
Revisions (0)
No revisions yet.