Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 13:38:31 -0700
From:      Mike Hogsett <hogsett@csl.sri.com>
To:        "Thomas Widlundh" <tw@ettnet.se>
Cc:        "freeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: comp name 
Message-ID:  <200206262038.g5QKcVqL069343@axp.csl.sri.com>
In-Reply-To: Message from "Thomas Widlundh" <tw@ettnet.se>  of "Wed, 26 Jun 2002 22:02:03 %2B0200." <000701c21d4c$7ad27c90$2f056dd4@chappe2> 

next in thread | previous in thread | raw e-mail | index | archive | help

Hostname is set in /etc/rc.conf

hostname="yourhostname.domain.name"

The program "hostname" will spit it out to you.

The program "domainname" will spit out what the host thinks its domainname
is (if it is set).

 - Mike

> Hi,
> Where in fBSD can I find the name of my computer?
> That is, the name of the comp in a network.
> It is sometimes shown in the prompt.
> Thanks,
> Thomas
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206262038.g5QKcVqL069343>