Mohammedz.com

For Linux and Shell scripting.

List all domains in an Ensim server with ips

Leave a comment


You can use this command to see all domains hosted in an Ensim server with corresponding IPs:

ListAllVirtDomains | awk ‘{print $1, $3}’

Also, the command below will show you total number of domains.

¬†ListAllVirtDomains |awk ‘{print $1, $3}’ |wc -l

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s