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

Lessons that use hostnamectl