Name
hostname
Synopsis
Displays the hostname of the local machine.
Syntax
hostname
Options
None |
Examples
Display the hostname of the computer whose full DNS name is
test.mtitcanada.com
:
hostname
test
Notes
To display or modify the hostname using the GUI:
Right-click on My Computer → Properties → Network Identification |
Get Windows 2000 Administration in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.