Table of Contents

systemd

To make it clear, I hate systemd! I use it only when there is no way around…

How to clear journalctl (/var/log/journal)

Retain only the past two days:

journalctl --vacuum-time=2d

Retain only the past 500 MB:

journalctl --vacuum-size=500M

Source: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl#194058