Scripting - Get the list of all sites home directories

Max-PH

Verified User
Joined
Dec 27, 2020
Messages
57
Location
US
Hello,

Is there any easy way to get the paths to all domains/subdomains like
/home/user1/domains/user1-domain1.com/public_html/
/home/user1/domains/user1-domain1.com/public_html/subdomain1/
/home/user2/domains/user2-domain1.com/public_html/
etc...

Thank you.
 
Back
Top