Linux: Clear systemd log

Bschelst/ January 19, 2017/ Linux/ 0 comments

You can use the following command, as superuser, to clear the systemd logs:

Keep the last 7 days:

journalctl --vacuum-time=7d

Keep the last 100Mb:

journalctl --vacuum-size=100M




Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *