• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

listing domains on CLI

M

MykelS

Guest
hi,

apologies if this question has been asked before, i cannot find a response here or on google (or even the documentation) and im stumped.

does anyone know how to get a list of domains currently hosted?

i need just the domain names and it needs to be on the CLI - not through the web interface.

thanks,
mykel
 
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "select name from domains"
 
Back
Top