Hostname

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

The hostname command shows or set the system's host name. Note that the name set is such a way is ephemeral - will disappear at reboot. To set the host name, use hostnamectl.

Installation

yum -y install hostname