May
19
Linux: Clearing journalctl logs to free up space
One of the fastest ways to create some free space especially if you have ran our of drive space is to vacuum your journalctl logs.
Vacuum by time:
journalctl --vacuum-time=1d
Vaccum by log size (log size after the command has completed):
journalctl --vacuum-size=250M