Linux Commands Helper

💬 Your AI-powered Linux assistant

pwd Command - Print Working Directory

The pwd command displays the absolute path of the current working directory.

Syntax

pwd [options]

Common Options

  • -L: Display the logical current directory (default).
  • -P: Display the physical current directory without symbolic links.

Examples

pwd

Display the full path of the current directory.

pwd -P

Display the physical path without following symbolic links.

Notes

  • The pwd command is commonly used in shell scripts and when working with directories to verify the current location.
  • The default behavior is usually equivalent to pwd -L.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame