[DirectAdmin] List all domains



Need a list of domains of DirectAdmin hosting control panel that is installed on your server?

Here are small tip how to do this. Just issue:

 

cd /usr/local/directadmin/data/users && ls -1 | while read line; \
do cat ${line}/domains.list; done

and you'll get them.