Hostname: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


* [[Linux Hostname]]
* <tt>[[hostnamectl]]</tt>
* [[Linux#Commands|Linux]]
* [[Linux#Commands|Linux]]
* [[Linux Hostname]]


=Overview=
=Overview=


The <tt>hostname</tt> command shows or set the system's host name. Note that the name set is such a way is ephemeral - will disappear at reboot.
The <tt>hostname</tt> 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 <tt>[[hostnamectl]]</tt>.


See:
=Installation=


<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
yum -y install hostname
:[[Linux Hostname]]
</blockquote>

Latest revision as of 01:34, 12 September 2019

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