nerdexam
Linux_Foundation

LFCS · Question #48

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

The correct answer is B. --since= C. --until=. The journalctl command uses the --since= and --until= parameters to filter log entries within a specific time frame. These parameters allow users to retrieve logs starting from a particular point in time and ending at another, respectively.

Submitted by diego_uy· Apr 18, 2026Essential Commands

Question

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

Options

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

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    86% (19)
  • D
    9% (2)

Why each option

The `journalctl` command uses the `--since=` and `--until=` parameters to filter log entries within a specific time frame. These parameters allow users to retrieve logs starting from a particular point in time and ending at another, respectively.

A--from=

`--from=` is not a standard `journalctl` parameter for specifying a start time; `--since=` is used instead.

B--since=Correct

The `--since=` parameter in `journalctl` is used to display log entries from a specified date and time onwards (e.g., `--since="2023-01-01 10:00:00"` or `--since="yesterday"`).

C--until=Correct

The `--until=` parameter in `journalctl` is used to display log entries up to a specified date and time (e.g., `--until="2023-01-02 12:00:00"` or `--until="now"`).

D--upto=

`--upto=` is not a standard `journalctl` parameter for specifying an end time; `--until=` is used instead.

E--date=

`--date=` is not a standard `journalctl` parameter for limiting the time frame of output.

Concept tested: `journalctl` time filtering parameters

Source: https://man7.org/linux/man-pages/man1/journalctl.1.html

Topics

#journalctl#logging#time filtering#systemd

Community Discussion

No community discussion yet for this question.

Full LFCS Practice