nerdexam
LPI

102-500 · Question #75

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose two.)

The correct answer is A. --since= C. --until=. journalctl uses --since= and --until= to bound log output by time - for example, journalctl --since="2026-01-01" --until="2026-01-02" shows only logs from that window. These are the actual flags defined in the systemd documentation and have been stable across distributions for…

Essential System Services

Question

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose two.)

Options

  • A--since=
  • B--from=
  • C--until=
  • D--upto=
  • E--date=

How the community answered

(52 responses)
  • A
    77% (40)
  • B
    8% (4)
  • D
    13% (7)
  • E
    2% (1)

Explanation

journalctl uses --since= and --until= to bound log output by time - for example, journalctl --since="2026-01-01" --until="2026-01-02" shows only logs from that window. These are the actual flags defined in the systemd documentation and have been stable across distributions for years.

The distractors --from=, --upto=, and --date= do not exist in journalctl; they follow intuitive English logic but are not valid options - journalctl will reject them with an error.

Memory tip: Think of a timeline with a clear start and end: "since" marks where you begin looking, "until" marks where you stop. Both are temporal prepositions that mirror natural English ("since Monday until Friday"), making them easy to recall as a matching pair.

Topics

#journalctl#systemd#log filtering#command-line options

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice