LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   host name (https://www.linuxquestions.org/questions/linux-general-1/host-name-237934/)

Ammad 10-02-2004 01:14 PM

host name
 
what should be the hostname, when i type
#hostname
linux1
and when i type
#hostname -f
linux1
but hostname -f = linux1 is not fqdn. so i set it to
#hostname linux1.acme.com
and then i checked it
#hostname
linux1.acme.com
and when i typed
#hostname -f
linux1.acme.com

i am confused what should i set my hostname, or what is right

trickykid 10-02-2004 01:44 PM

The hostname is whatever name you want to call your machine. That's up to you. If your on a domain, you can set your domain name with the command domainname


All times are GMT -5. The time now is 12:12 AM.