# Cleanup
# Run as root, of course.
cd /var/log
cat /dev/null > messages
cat /dev/null > wtmp
echo "Logs cleaned up."
# Run as root, of course.
cd /var/log
cat /dev/null > messages
cat /dev/null > wtmp
echo "Logs cleaned up."
bala@linuxworld:~>cd /home/bala
1 comment:
Really nice script. Sure I will try with a slight modifications. Will comment the modified version after that.
Post a Comment