
LPI Linux Essentials (010-160)
Domain 3Objective 2
3.2 Searching and Extracting Data from Files (weight: 3) LINUX-ESSENTIALS Practice Questions (Page 1)
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 14 practice questions to prepare you well beyond it. (estimate)
14questions here
3free pages
6concepts
Questions 1–5
- 1
Which grep option displays only lines that do NOT match the given pattern?
Select an answer first - 2
A data analyst has a file named data.txt with lines like 'apple 5', 'banana 3', 'apple 2', 'cherry 7'. They need to sort the data by the second field (number) in descending order, and then for ties, sort by the first field alphabetically. Which command should they use?
Select an answer first - 3
Which command is best for viewing a large file one screen at a time, allowing you to scroll forward and backward?
Select an answer first - 4
What does the pipe symbol (|) do in a command line?
Select an answer first - 5
Which uniq option displays the number of times each line occurs?
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.