Delete systemd journal logs older than 7 days to free disk space
Prunes old journal entries. Safe to run on any server — the journal automatically reopens new log files. Adjust the time period (7d, 2weeks, 1month) based on your retention needs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.