The hostnamectl command
Control the system hostname 2 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.
Examples
hostnamectl
sudo hostnamectl set-hostname web01
hostnamectl commandControl the system hostname 2 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.
hostnamectl
sudo hostnamectl set-hostname web01