Thursday, October 18, 2018

truncate all logs

find / -type f -name "*.log" -exec truncate --size 0 {} +

No comments:

Post a Comment

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd