Obtaining the Hostname

To obtain the hostname, type the hostname command. For example:

% hostname

worf

In this example, the host name is worf.