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

LPI LPIC-1:Linux Administrator (101-500)

Domain 3Objective 1

103.1 Work on the Command Line 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 33 practice questions to prepare you well beyond it. (estimate)

33questions here
7free pages
15concepts

Questions 21–25

  1. 21expert · medium

    A user has an alias 'ls' that includes '--color=auto'. They run a script that calls 'ls' and notice the output is not colored. The script sources ~/.bashrc. What is the most likely reason?

    Select an answer first
  2. 22foundation · easy

    What does an exit status of 0 indicate for a command?

    Select an answer first
  3. 23foundation · easy

    What is the purpose of the `${VAR}` syntax compared to `$VAR`?

    Select an answer first
  4. 24expert · medium

    A user runs 'type -a ls' and gets three outputs: 'ls is aliased to `ls --color=auto'', 'ls is /usr/bin/ls', and 'ls is /bin/ls'. What does this indicate?

    Select an answer first
  5. 25expert · medium

    A script needs to assign the output of 'date +%Y' to a variable YEAR, then print 'Year: 2025'. The script currently has: YEAR=$(date +%Y); echo "Year: $YEAR". However, the output is 'Year: 2025' with a trailing newline. What is the issue?

    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.