threadr.lostcave.ddnss.de/run-once-script.sh

8 lines
239 B
Bash

#!/bin/bash
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
exit 0