Linux Basic Commands
2. pwd
pwd
pwd Command in Linux
pwd stands for Print Working Directory.
It shows the full path of your current location in the filesystem.
🔹 Basic Syntax:
pwd
🔹 Example:
Let’s say you open a terminal and type:
pwd
Output:
/
👉 This means you're currently in the Documents folder, inside the ashwin user's home directory.
🔹 When to Use:
-
To know where you are in the system.
-
Useful while working with nested directories.
Try with Linux Practice