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

LPI BSD Specialist

Domain 5Objective 6

715.6 Customize or Write Simple Scripts (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 23 practice questions to prepare you well beyond it. (estimate)

23questions here
5free pages
10concepts

Questions 16–20

  1. 16application · easy

    A user creates a script file 'myscript' with the correct content and runs './myscript'. The shell reports 'Permission denied'. What is the most likely cause and fix?

    Select an answer first
  2. 17foundation · easy

    Which loop construct in a shell script repeats a block of code a fixed number of times?

    Select an answer first
  3. 18application · medium

    A developer on a FreeBSD system creates a script with a csh-style syntax and saves it as 'deploy.csh'. The script must run on multiple Unix-like systems, some of which do not have csh installed. The developer wants maximum portability with minimal changes. What should the developer do?

    Select an answer first
  4. 19foundation · easy

    In a shell script, what does $1 represent?

    Select an answer first
  5. 20expert · hard

    A FreeBSD administrator maintains a script that must run on both FreeBSD and a minimal Linux container that only has dash as /bin/sh. The script currently uses bash-specific features like [[ ]] and arrays. The administrator must make the script portable with the least effort. What is the best approach?

    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.