sleepdefic1t
10/11/2017 - 7:54 PM

Raspberry Pi terminal command for force-emptying system logs. Useful for custom images.

Raspberry Pi terminal command for force-emptying system logs. Useful for custom images.

sudo bash -c 'for i in $(find /var/log -type f); do cat /dev/null > $i; done'