
LPI Linux Essentials (010-160)
Domain 3Objective 3
3.3 Turning Commands into a Script (weight: 4) LINUX-ESSENTIALS Practice Questions (Page 3)
Part of the Topic 3: The Power of the Command Line domain, which makes up ~16% of our current practice bank. Linux Professional Institute does not publish an official question count, but from its 60-minute exam (~25–40 total, ~4–6 in this domain), expect 1–2 from this objective — we provide 36 practice questions to prepare you well beyond it. (estimate)
36questions here
8free pages
9concepts
Questions 11–15
- 11
Which command is used to make a shell script executable by the owner?
Select an answer first - 12
Which of the following commands will execute a shell script named 'myscript.sh' using the Bash shell?
Select an answer first - 13
After making a script executable with chmod +x, how do you run it from the current directory?
Select an answer first - 14
In a Bash script, how do you assign the value 'Hello' to a variable named 'greeting'?
Select an answer first - 15
How do you reference the value of a variable named 'count' in a Bash script?
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. “LINUX-ESSENTIALS” is a trademark of its owner, used for identification only.