diff --git a/shell/empty_login_history.sh b/shell/empty_login_history.sh index cd76084..e47a6b8 100755 --- a/shell/empty_login_history.sh +++ b/shell/empty_login_history.sh @@ -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 \ No newline at end of file +rm -rf /tmp/empty_login_history.sh +history -c