domainname(1) on Linux
The text 94f271ad8aa6, as Debian 6.0 (Squeeze) shipped it.
show or set the system's host name domainname - show or set the system's NIS/YP domain name ypdomainname - show or set the system's NIS/YP domain name nisdomainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name
Flags it lists
-
--alias -
--all-fqdns -
--all-ip-addresses -
--boot -
--domain -
--file -
--fqdn -
--help -
--ip-address -
--long -
--nis -
--short -
--verbose -
--version -
--yp -
-A -
-F -
-I -
-V -
-a -
-b -
-d -
-f -
-h -
-i -
-s -
-v -
-y