Copied to clipboard

pwd

The pwd command is used to display the path of the current working directory.

Example

  • Show the path of the current working directory: pwd
  • Show the absolute path of the current working directory: pwd -P
  • Show the logical path of the current working directory (do not follow symbolic links): pwd -L
  • Show the physical path of the current working directory (follow symbolic links): pwd -P -L