feat(脚本): update
parent
1eeee310d7
commit
b81ae506b4
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# 清空访问日志
|
||||
# wget -P /tmp https://raw.githubusercontent.com/mack-a/v2ray-agent/master/shell/empty_login_history.sh && chmod 700 /tmp/empty_login_history.sh && bash /tmp/empty_login_history.sh
|
||||
echo > /var/log/wtmp
|
||||
echo > /var/log/btmp
|
||||
echo > ~/.bash_history
|
||||
history -c
|
||||
rm -rf /tmp/empty_login_history.sh
|
||||
history -c
|
||||
|
|
Loading…
Reference in New Issue