Hostname: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
=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>.

Revision as of 02:47, 4 April 2017

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.