hostname

IDevice Icon hostname

The hostname command displays or sets the system’s host name. If no flags or arguments are given, then the host name of the system is displayed. The syntax is

For example

> hostname

   issc2.rau.ac.za

To find out the hostname in Windows we can use

> ipconfig /All

or

> winipcfg