
LPI LPIC-1:Linux Administrator (101-500)
Domain 5Objective 1
105.1 Customize and Use the Shell Environment LPIC-1 Practice Questions (Page 4)
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 16–20
- 16
Which command removes a previously defined shell function named myfunc?
Select an answer first - 17
Which file is sourced by bash when a user logs in interactively?
Select an answer first - 18
A user has defined a shell function in ~/.bashrc that sets a variable and runs a command. When they run the function from a script, the variable is not set in the parent shell. Which statement explains why?
Select an answer first - 19
Which command removes an alias named ll?
Select an answer first - 20
Which command makes a variable assignment in ~/.bashrc take effect in the current shell without logging out?
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.