Created
September 23, 2021 04:42
-
-
Save vitalfadeev/168bd871223aed4f2bd7773629bd17fe to your computer and use it in GitHub Desktop.
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/sh | |
| # clear system journal (gnome journald) | |
| sudo journalctl --rotate | |
| sudo journalctl --vacuum-size=100M | |
| sudo journalctl --vacuum-time=1s | |
| sudo systemctl restart systemd-journald |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment