Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3.6. Listing Domains

The realm list command lists every configured domain for the system, as well as the full details and default configuration for that domain. This is the same information as is returned by the realm discovery command, only for a domain that is already in the system configuration.
# realm list --all --name-only
ad.example.com
The most notable options accepted by realm list are:
--all
The --all option lists all discovered domains, both configured and unconfigured.
--name-only
The --name-only option limits the results to the domain names and does not display the domain configuration details.
For more information about the realm list command, see the realm(8) man page.