Created
September 10, 2010 11:45
-
-
Save stevenwilkin/573498 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list all domains apache is configured to listen for on a Fedora Core box | |
grep -hE 'ServerName|ServerAlias' /etc/httpd/conf/* | grep -v '#' | sed -r -e 's/^\s+//' -e 's/\w+\b //' | tr ' ' '\n' | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment