Forrest logo
tool overview
On this page you find all important commands for the CLI tool pwd. If the command you are looking for is missing please ask our AI.

pwd

The pwd utility writes the absolute pathname of the current working directory to the standard output. Some shells may provide a builtin pwd command which is similar or identical to this utility.

List of commands for pwd:

  • linux:files:current-dir Show the current working directory.
    $ pwd
    try on your machine
    explain this command
  • pwd:tldr:67ee8 pwd: Print the current directory, and resolve all symlinks (i.e. show the "physical" path).
    $ pwd --physical
    try on your machine
    explain this command
  • pwd:tldr:84491 pwd: Print the current directory, and resolve all symlinks (i.e. show the "physical" path).
    $ pwd -P
    try on your machine
    explain this command
  • pwd:tldr:f98e4 pwd: Print the current logical directory.
    $ pwd --logical
    try on your machine
    explain this command
tool overview