Bird
0
0

Which command shows your current directory in Linux?

easy📝 Conceptual Q2 of 15
Linux CLI - Navigating the File System
Which command shows your current directory in Linux?
Als
Bcd
Cdir
Dpwd
Step-by-Step Solution
Solution:
  1. Step 1: Identify command purpose

    "pwd" stands for 'print working directory' and shows your current folder path.
  2. Step 2: Compare with other commands

    "ls" lists files, "cd" changes directory, "dir" is similar to "ls" but less common.
  3. Final Answer:

    pwd -> Option D
  4. Quick Check:

    Current directory command = pwd [OK]
Quick Trick: Use pwd to always know your current folder [OK]
Common Mistakes:
  • Using ls to find current directory
  • Confusing cd with pwd

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes