Delete archived logs older than a time window.
Section: Output, Export, Maintenance
Vacuum journal by age
bash
bash
sudo journalctl --vacuum-time=14dExplanation
Retention control by age.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Output, Export, Maintenance