Find all your WordPress installs

If you’ve got a bunch of WordPress installs on a server and need to find all of them, try this shell command:

find . -name “wp-config.php” -print > {your favorite path}/wpinstalls.txt

It worked for me!