Listing Add-on domains only. Not add-on + sub domains

colinireland

Registered
Jul 9, 2011
2
0
51
Hello,

Can anyone tell me how I can list only the add-on domains for an account in WHM?
Main >> Account Information >> List Subdomains does not suffice. There must be a file somewhere on the server that has this information. I need this for a bash script that I am writing.

Regards,
Colin
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator