hostname – Name of your computer

Use the hostname command in Windows and in most Unix and Linux versions to get the actual hostname of the system. In Windows, from the command prompt simply type,

c:\>hostname MYCOMPUTER

In Linux or unix, from the terminal window type hostname,

mycomputer$ hostname

This should show the computer name.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *