feat(脚本): 清空访问日志

pull/534/merge
mack-a 2020-11-21 16:24:16 +08:00
parent 14fafed4d7
commit 1eeee310d7
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# 清空访问日志 # 清空访问日志
echo > /var/log/wtm echo > /var/log/wtmp
echo > /var/log/btmp echo > /var/log/btmp
echo > ~/.bash_history echo > ~/.bash_history
history -c history -c