pwd

Linux · Directories · available in the simulator

What it does

Print the current working directory.

Syntax

pwd [-L | -P]

Options and parameters

  • -P

    Print the physical directory, resolving all symbolic links.

    pwd -P
  • -L

    Print the logical directory, preserving symbolic links.

Usage examples

  • pwd
  • pwd -P
Practise pwd

Related commands