Security
The /var/log/journal directory on a server has grown large and is filling the disk. An administrator must immediately reduce the archived journal files to no more than 500 MB. Which command accomplishes this?
Show the answer
Correct answerD. journalctl --vacuum-size=500M
--vacuum-size deletes the oldest archived journal files until total usage is at or below the given size. --rotate only archives the active journal files and starts new ones, so it does not remove anything and frees no space on its own.