Bird
0
0

You added this line to your shell setup file:

medium📝 Debug Q14 of 15
Linux CLI - Environment and Configuration
You added this line to your shell setup file:
export PATH=$HOME/bin:$PATH

But after restarting the shell, your custom programs in $HOME/bin are not found. What is the likely problem?
AYou forgot to export PATH
BYou used double quotes instead of single quotes
CYou did not reload the shell setup file or restart the shell
DYou assigned PATH without including the old $PATH
Step-by-Step Solution
Solution:
  1. Step 1: Check the export command correctness

    The line export PATH=$HOME/bin:$PATH is correct and includes the old PATH.
  2. Step 2: Consider shell reload

    Changes in setup files only take effect after restarting the shell or reloading the file with source ~/.bashrc.
  3. Final Answer:

    You did not reload the shell setup file or restart the shell -> Option C
  4. Quick Check:

    Reload shell after changes = You did not reload the shell setup file or restart the shell [OK]
Quick Trick: Reload or restart shell to apply setup changes [OK]
Common Mistakes:
  • Not restarting or sourcing the setup file
  • Thinking export is missing when it is present
  • Confusing quotes usage here

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes