Wazaterm » Linux Commands » hostname

How to use hostname Linux command

The hostname is a command that is used to either set or display the current host, domain, or node name of the system. These names are used by many of the networking programs to identify the machine.

Usage