Update README.md

This commit is contained in:
skyper
2023-05-17 11:09:04 +01:00
committed by GitHub
parent 42eac802eb
commit 54569032bd
+1
View File
@@ -1129,6 +1129,7 @@ cat /dev/null >/var/log/auth.log
This will remove any sign of us from the log file:
```sh
#DEL=thc.org
#DEL=${SSH_CLIENT%% *}
DEL=1.2.3.4
LOG=/var/log/auth.log
IFS="" a=$(sed "/${DEL}/d" <"${LOG}") && echo "$a">"${LOG}"