pwd Linux Command Cheatsheet

848




pwd (print working directory) Linux Command is used to print full directory path of current working directory.

Syntax

pwd [Option(s)]

Flags for pwd Command

pwd -L: Prints the symbolic path.
pwd -P: Prints the actual path.

Examples

pwd #=> /Users/experimental
pwd -L
pwd -P