Clean cached journal logs

Journal is systemd's logging system. Logs are stored in /var/log/. Today I saw a tweet about a journalctl option which cleans the cached logs. I run the following command using sudo, and I cleaned 3.3GB of cached logs.

# journalctl --vacuum-time=2weeks

Latest posts