Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Base OS Installation > Verifying Hostnames

Verifying Hostnames

Next, verify that the hostname of the server matches what you configured in DNS. This can most easily be done using the hostname command. Running this command from the Terminal application (available in the /Applications/Utilities directory) will show you the name of the server:

hostname

If the output of the hostname command is not what you expect (or desire), then use the scutil command to check the name of the computer as well. This one is a little longer, but provides verification of the hostname:

sudo scutil –get HostName

Note

When running commands prefixed with sudo, you will be asked to enter your password. If the escalation of your privileges to run the command fails, then try running it again when logged in as an administrative user.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial