Bird
0
0

What does the PATH environment variable do in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - Environment and Configuration
What does the PATH environment variable do in Linux?
AIt lists folders where the system looks for commands to run.
BIt stores the current user's password.
CIt shows the current directory path.
DIt controls the screen brightness settings.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of PATH

    The PATH variable contains directories where the system searches for executable commands.
  2. Step 2: Match the description to the options

    Only It lists folders where the system looks for commands to run. correctly describes PATH as a list of folders for commands.
  3. Final Answer:

    It lists folders where the system looks for commands to run. -> Option A
  4. Quick Check:

    PATH = command search folders [OK]
Quick Trick: PATH is where your system finds commands to run [OK]
Common Mistakes:
  • Confusing PATH with current directory
  • Thinking PATH stores passwords
  • Assuming PATH controls hardware settings

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes