Created
April 6, 2022 15:11
-
-
Save raresteak/3214ad43550d407961a24e037f850c85 to your computer and use it in GitHub Desktop.
Clean up /var/log/journal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo journalctl --disk-usage | |
sudo journalctl --vacuum-size=500M | |
sudo journalctl --disk-usage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment