Last active 1717746026

Malin's Avatar Malin revised this gist 1717746026. Go to revision

1 file changed, 6 insertions

flush-journal.sh(file created)

@@ -0,0 +1,6 @@
1 + # from: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl
2 +
3 + journalctl --flush --rotate --vacuum-time=1s
4 + journalctl --user --flush --rotate --vacuum-time=1s
5 + journalctl --vacuum-time=2d
6 + journalctl --vacuum-size=500M
Newer Older