How to make the perfect TOR VM in VirtualBox
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

cleanup.sh 308B

12345678910111213141516
  1. #!/bin/bash
  2. systemctl stop rsyslog
  3. find /var/log -type f -print -delete
  4. #find /home/user -mindepth 1 -depth -print -delete
  5. find /root -mindepth 1 -depth -print -delete
  6. for user in /root /home/user
  7. do
  8. FILE=${user}/.bash_history
  9. echo "rm/ln/dev-null ${FILE}"
  10. rm -f ${FILE}
  11. ln -s /dev/null ${FILE}
  12. done