2.4.19. pwd#

pwd prints the path of the current working directory.

2.4.19.1. Common pwd usage#

  • Use pwd to find your current working directory.

pwd
  • Navigate in the terminal, relying on being in the right location. As you move around directories, use pwd often to remind yourself where you are.