备份操作记录的脚本
cd /root
day=`date +%Y-%m-%d`
tar -cvf /home/superman003/logbak/log-$day.tar .bash_history
echo"" > .bash_history
备份操作记录的脚本
cd /root
day=`date +%Y-%m-%d`
tar -cvf /home/superman003/logbak/log-$day.tar .bash_history
echo"" > .bash_history