getting all server config files
parent
a1baf5fd46
commit
055cf50a76
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
ls /etc > /var/www/html/one_out/001.log
|
rm /var/www/html/one_out/001.log
|
||||||
|
ls -R /etc/apache2 > /var/www/html/one_out/002.log
|
||||||
|
shopt -s globstar
|
||||||
|
cat /etc/apache2/** > /var/www/html/one_out/003.log
|
||||||
# leave this here for whenever this script is altered to be empty
|
# leave this here for whenever this script is altered to be empty
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue