Display only today's journal entries from 09:00 onward.
Which command is appropriate?
journalctl --since TIME sets the lower bound of the time range. --until sets the upper bound.
Detailed explanation
journalctl --until 'today 09:00'Incorrect. --until selects entries up to the given time.
Incorrect. --until selects entries up to the given time.
journalctl --boot 'today 09:00'Incorrect. --boot selects a boot identifier.
Incorrect. --boot selects a boot identifier.
journalctl --since 'today 09:00'Correct. --since 'today 09:00' selects entries from that time onward.
Correct. --since 'today 09:00' selects entries from that time onward.
journalctl --after 'today 09:00'Incorrect. --after is not the standard journalctl start-time option.
Incorrect. --after is not the standard journalctl start-time option.
Try it yourself
An example you can run in a temporary verification environment.
journalctl --help | grep -E -- '--since' | head -n 1Expected result
start timeを示すhelp行Key points
- --since is the start
- --until is the end
- Some natural-language times are accepted
Notes
- Environment: systemd journalctl help / journal読取なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.