Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Linux Professional Institute logo

LPI LPIC-1:Linux Administrator (101-500)

Domain 5Objective 1

105.1 Customize and Use the Shell Environment LPIC-1 Practice Questions (Page 1)

Part of the Topic 105: Shells and Shell Scripting domain, which makes up ~5% of our current practice bank. Linux Professional Institute does not publish an official question count, but from its 90-minute exam (~35–60 total, ~2–3 in this domain), expect 1–2 from this objective — we provide 21 practice questions to prepare you well beyond it. (estimate)

21questions here
5free pages
7concepts

Questions 1–5

  1. 1expert · medium

    A user has added an export statement to ~/.bashrc, but when they log in via SSH, the variable is not set. They also have a ~/.bash_profile that does not source ~/.bashrc. Which solution would ensure the variable is set in all future SSH login sessions?

    Select an answer first
  2. 2foundation · easy

    Where should an environment variable be set so that it is available in all future interactive bash shells for a user?

    Select an answer first
  3. 3foundation · easy

    Which variable controls the primary prompt displayed by the bash shell?

    Select an answer first
  4. 4application · easy

    A user wants to ensure that commands beginning with a space are not saved in the shell history. Which configuration should they add to ~/.bashrc?

    Select an answer first
  5. 5application · easy

    A user wants to temporarily change the value of the PATH variable for the current session only, adding a directory at the beginning. Which command should they run?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Linux Professional Institute. “LPIC-1” is a trademark of its owner, used for identification only.