linux how to remove virtual host code example Example: ubuntu delete all virtual hosts find /etc/apache2/sites-enabled/ -type l -exec rm -i "{}" \;