hostnamectl (1) - Control the system hostname
hostnamectl
Please click on " man hostnamectl " to see the Manual Page for this command.