The “hostname” command

Use this command to display the IP address of the remote machine.

Command format


Example usage

Command description Command and output
Display the IP of the remote machine

This example sends the hostname command to display the remote IP.

[writingteam /]$ hostname

Available options

There are no options available with this command.