Question 169 of 522
Administrative TaskseasyMultiple SelectObjective-mapped

Quick Answer

The answer is the `runlevel` command and the `who -r` command. These two tools are the standard methods to display the current runlevel in a SysV init system because they directly query the system’s init state from the `/var/run/utmp` file, where the current and previous runlevels are recorded. The `runlevel` command outputs both the previous and current runlevel in a simple two-column format, while `who -r` provides the same current runlevel along with the timestamp of the last runlevel change, making it equally valid for this purpose. On the Linux Professional Institute Certification Level 1 LPIC-1 exam, this question tests your understanding of legacy SysV init management, a topic that often appears alongside systemd comparisons. A common trap is assuming `init` or `telinit` show the runlevel—they change it, not display it. Remember the mnemonic: “Runlevel reveals, who -r reveals the same.”

LPIC-1 Administrative Tasks Practice Question

This LPIC-1 practice question tests your understanding of administrative tasks. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which TWO commands can be used to display the current runlevel of a SysV init system?

Question 1easymulti select
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

who -r

The `who -r` command displays the current runlevel and the time it was last changed, making it a valid way to check the runlevel in a SysV init system. The `runlevel` command directly outputs the previous and current runlevel, which is the standard tool for this purpose.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • init 3

    Why it's wrong here

    This changes runlevel to 3, not displays it.

  • who -r

    Why this is correct

    The 'who -r' command displays the current runlevel and process since last boot.

    Related concept

    Read the scenario before looking for a memorised answer.

  • telinit

    Why it's wrong here

    telinit is used to send signals to init, typically to change runlevel, not display current.

  • runlevel

    Why this is correct

    The runlevel command prints the previous and current runlevel.

    Related concept

    Read the scenario before looking for a memorised answer.

  • systemctl get-default

    Why it's wrong here

    This is for systemd, not SysV init.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse commands that change runlevels (like `init` or `telinit`) with those that display them, or mistakenly apply systemd commands like `systemctl get-default` to SysV init systems.

Detailed technical explanation

How to think about this question

In SysV init, runlevels are defined in `/etc/inittab` and range from 0 to 6, with S for single-user mode. The `runlevel` command reads `/var/run/utmp` to determine the current and previous runlevel, while `who -r` parses the same utmp file to display the runlevel and timestamp. A subtle behavior is that if the system has not changed runlevels since boot, `runlevel` may show 'N' as the previous runlevel.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the LPIC-1 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related LPIC-1 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free LPIC-1 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this LPIC-1 question test?

Administrative Tasks — This question tests Administrative Tasks — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: who -r — The `who -r` command displays the current runlevel and the time it was last changed, making it a valid way to check the runlevel in a SysV init system. The `runlevel` command directly outputs the previous and current runlevel, which is the standard tool for this purpose.

What should I do if I get this LPIC-1 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on LPIC-1

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO commands can be used to display the current runlevel of a system?

medium
  • A.telinit q
  • B.systemctl get-default
  • C.init 3
  • D.runlevel
  • E.who -r

Why D: The `runlevel` command displays the previous and current runlevel of a SysV init system. The `who -r` command also shows the current runlevel along with the process ID of the init daemon. Both are standard tools for querying runlevel information on systems using SysV init.

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.