hostname

Show or set the system's host name. More information: <https://manned.org/hostname>.

Debian Debian
RUN apt-get update && \ apt-get install -y hostname
Ubuntu
RUN apt-get update && \ apt-get install -y hostname
Arch Arch Linux
RUN pacman -S --noconfirm 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 hostname on any operating system with command-not-found.com