I'm writing a shell script to do some web server configuration. I need to disable all currently active virtual hosts. a2dissite
doesn't accept multiple arguments, so I can't do
a2dissite `ls /etc/apache2/sites-enabled`
Should I use find
? Is it safe to manually delete the symlinks in /etc/apache2/sites-enabled
?