for dir in $(cut -d: -f6 /etc/passwd); do if [ -r "$dir/public_html/index.php" ]; then echo "[FOUND] $dir/public_html/index.php"; fi; done cd /tmp