
LPI LPIC-1:Linux Administrator (101-500)
Domain 3Objective 8
103.8 Basic File Editing LPIC-1 Practice Questions (Page 5)
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 29 practice questions to prepare you well beyond it. (estimate)
29questions here
6free pages
9concepts
Questions 21–25
- 21
Which scenario is a typical use case for choosing nano over vi?
Select an answer first - 22
A junior admin is editing /etc/hosts with vi and needs to replace the IP address on the line containing 'db-server' with 10.0.0.5. The cursor is currently at the beginning of the file. Which sequence of vi commands accomplishes this most efficiently?
Select an answer first - 23
In nano, a user wants to cut the current line and paste it at the end of the file. Which sequence of key presses accomplishes this?
Select an answer first - 24
A user is editing a file in vi and needs to move the cursor to the 50th line of the file. Which command should they use?
Select an answer first - 25
A user is editing a file in nano and wants to move the cursor to the end of the current line. Which key should they press?
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.