#!/bin/sh
#****************************************************************#
# ScriptName: clean.sh
# Author: xhy
# Create Date: 2018-09-13 02:54
# Modify Author: xhy
# Modify Date: 2022-10-02 14:29
# Version: 
#***************************************************************#
echo "" > /var/log/boot.log
echo "" > /var/log/vmware-vmsvc-root.1.log
echo "" > /var/log/vmware-vmsvc-root.2.log
echo "" > /var/log/vmware-vmsvc-root.log
echo "" > /var/log/vmware-vmtoolsd-root.log
echo "" > /var/log/vmware-vmusr-root.log
echo "" > /var/log/auth.log
echo "" > /var/log/daemon.log
echo "" > /var/log/debug
echo "" > /var/log/kern.log
echo "" > /var/log/messages
echo "" > /var/log/syslog
echo "" > /var/log/user.log
echo "" > /var/log/alternatives.log
echo "" > /var/log/dpkg.log
echo "" > /var/log/faillog
echo "" > /var/log/fontconfig.log
echo "" > /var/log/vmware-network.1.log
echo "" > /var/log/vmware-network.log
echo "" > /var/log/Xorg.0.log
echo "" > /var/log/Xorg.0.log.old
echo "" > /var/log/btmp
echo "" > /var/log/lastlog
echo "" > /var/log/wtmp
echo "" > /var/log/apt/history.log
echo "" > /var/log/apt/term.log
echo "" > /var/log/installer/hardware-summary
echo "" > /var/log/installer/lsb-release
echo "" > /var/log/installer/partman
echo "" > /var/log/installer/status
echo "" > /var/log/installer/syslog
echo "" > /var/log/installer/Xorg.0.log
rm -rf /var/log/journal/*
rm -rf /var/log/installer/cdebconf
rm -rf /var/log/lightdm/*

rm -rf /tmp/*

history -c
