QuestionQ234

Essential Commands

Which of the following parameters are used with journalctl to restrict the output to a specific time frame?

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

The journalctl command provides the --since= and --until= options to limit displayed log entries to those occurring after or before a specified date/time, respectively. These options accept absolute timestamps (e.g., "2026-07-16 08:00:00") or relative expressions (e.g., "yesterday", "1 hour ago"). There are no --from=, --upto=, or --date= options in journalctl.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!