How Do I Find My Full Hostname in Linux?
Contents How Do I Find My Full Hostname? Using the Command Prompt from the Start Menu, Select All Programs or Programs, Then Accessories, and Then Command...
Contents
How do I find my full hostname?
Using the command prompt
- From the Start menu, select All Programs or Programs, then Accessories, and then Command Prompt.
- In the window that opens, at the prompt, enter hostname . The result on the next line of the command prompt window will display the hostname of the machine without the domain.
18 янв. 2018 г.
Must Read
How do I find the FQDN of an IP address in Linux?
If you’re looking for the Fully Qualified Domain Name (FQDN) of a network address, you can use DNS query tools like dig or nslookup , as described by @firm and @Richard Holloway. To be clear, hostname will just return the short name. Use the -f parameter; hostname -f to get the fully qualified name.