# Cleanup Script
# Run as root

cd /var/log
cat /dev/null > messages
cat /dev/null > wtmp
echo "Logs cleaned."
Published in: Bash
Download

Related snippets