
LPI LPIC-1:Linux Administrator (101-500)
Domain 3Objective 7
103.7 Search Text Files Using Regular Expressions LPIC-1 Practice Questions (Page 1)
Part of the Topic 103: GNU and Unix Commands domain, which makes up ~19% of our current practice bank. Linux Professional Institute does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–11 in this domain), expect 1–1 from this objective — we provide 14 practice questions to prepare you well beyond it. (estimate)
14questions here
3free pages
10concepts
Questions 1–5
- 1
How do you match a literal dot (.) in a regular expression?
Select an answer first - 2
Which command is equivalent to `egrep`?
Select an answer first - 3
Which command finds all lines in file.txt that start with "ERROR" (case-insensitive)?
Select an answer first - 4
Which awk command prints lines that contain the word "warning"?
Select an answer first - 5
In an awk program, which part specifies the action to perform on each matching line?
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.