On Wed, Sep 30, 2026 at 16:32:00 +0100, Chris Green wrote:
> I want the ypdomainname and domainname commands to return my domain's
> name.

But you aren't using NIS, so this is a nonsensical goal.

NAME
       hostname - 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

Reply via email to