From b81ae506b46a46cbc6e261c5c8b39fa035867ca0 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Sat, 21 Nov 2020 16:26:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/empty_login_history.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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