Bird
0
0

What will be the output of the command pwd immediately after opening a new terminal?

medium📝 Command Output Q13 of 15
Linux CLI - Linux Basics and Terminal
What will be the output of the command pwd immediately after opening a new terminal?
A/usr/bin
B/root
C/etc
D/home/username
Step-by-Step Solution
Solution:
  1. Step 1: Understand what pwd does

    The pwd command shows the current directory path.
  2. Step 2: Know the default directory on terminal open

    When a user opens a terminal, it usually starts in their home directory, like /home/username.
  3. Final Answer:

    /home/username -> Option D
  4. Quick Check:

    New terminal starts in home directory [OK]
Quick Trick: New terminal starts in your home folder [OK]
Common Mistakes:
MISTAKES
  • Assuming root or system folders
  • Not knowing pwd shows current folder
  • Confusing with other commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes