Skip to content

Journalctl note

Today logs

sh
journalctl -u <service_name> | grep "$(date+"%b %d")

clean log

sh
sudo journalctl --vacuum-size=1M