Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Linux Professional Institute logo

LPI BSD Specialist

Domain 5Objective 5

715.5 Perform Basic File Editing Operations (weight: 2) BSD-SPECIALIST Practice Questions (Page 4)

Part of the Topic 715: Basic Unix Skills domain, which makes up ~20% 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–12 in this domain), expect 1–2 from this objective — we provide 32 practice questions to prepare you well beyond it. (estimate)

32questions here
7free pages
6concepts

Questions 16–20

  1. 16expert · hard

    A user is editing a file in vi and has made several changes. They want to discard all changes and exit, but they are not sure if they are in insert mode or command mode. They press Esc to ensure they are in command mode, then type :q!. However, they receive an error: 'E37: No write since last change (add ! to override)'. What is the most likely reason for this error?

    Select an answer first
  2. 17expert · hard

    An admin is editing a large log file in vi and needs to replace all occurrences of 'ERROR' with 'WARNING' only on lines that contain the word 'critical'. They want to do this in one command. Which command should they use?

    Select an answer first
  3. 18expert · medium

    A user is editing a file in vi and needs to move to the last line of the file to add a new configuration option. They are currently in command mode. What is the most efficient way to move to the last line and append text at the end of that line?

    Select an answer first
  4. 19expert · medium

    A developer is editing a source file in vi and needs to delete the next three words. They are currently in command mode with the cursor at the beginning of the first word. What is the most efficient way to delete three words?

    Select an answer first
  5. 20expert · hard

    An admin is editing a configuration file and needs to replace the first occurrence of 'enabled' with 'disabled' on each line that contains the word 'feature'. They want to do this in one command. Which command should they use?

    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. “BSD-SPECIALIST” is a trademark of its owner, used for identification only.