File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ service sysstat stop
62
62
rmdir /var/log/sysstat
63
63
mkdir /var/log/sysstat
64
64
service sysstat start
65
+ ls -alh /var/log/ >> ~ /varlog3.log
65
66
# Securely erase the unused portion of the filesystem
66
67
GREEN=' \033[0;32m'
67
68
NC=' \033[0m'
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ rm -rf /var/log/*
8
8
service sysstat stop
9
9
rm -rf /var/log/sysstat
10
10
mkdir /var/log/sysstat
11
+ ls -alh /var/log/ >> ~ /varlog1.log
11
12
service sysstat start
12
13
13
14
# https://github.com/fail2ban/fail2ban/issues/1593
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ checkRoot
652
652
checkAgent
653
653
654
654
checkMongoDB
655
-
655
+ ls -alh /var/log/ >> ~ /varlog2.log
656
656
657
657
# Summary
658
658
echo -en " \n\n---------------------------------------------------------------------------------------------------\n"
You can’t perform that action at this time.
0 commit comments