feat(脚本): 添加访问日志脚本

pull/534/merge
mack-a 2020-11-11 16:31:03 +08:00
parent b91fc36af2
commit 7f36dbc402
1 changed files with 6 additions and 0 deletions

View File

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