domainname

utility to set/show the host name or domain name

Debian Debian
RUN apt-get update && \ apt-get install -y hostname
Ubuntu
RUN apt-get update && \ apt-get install -y hostname
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y hostname
CentOS
RUN yum install -y hostname
Fedora
RUN dnf install -y hostname
Raspbian
RUN apt-get update && \ apt-get install -y hostname
click the source code to copy install domainname on any operating system with command-not-found.com