Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 21:46:50 +0100
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        Thomas Widlundh <tw@ettnet.se>
Cc:        freeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: comp name
Message-ID:  <20020626214649.A335@fishballoon.dyndns.org>
In-Reply-To: <000701c21d4c$7ad27c90$2f056dd4@chappe2>; from tw@ettnet.se on Wed, Jun 26, 2002 at 10:02:03PM %2B0200
References:  <000701c21d4c$7ad27c90$2f056dd4@chappe2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 26, 2002 at 10:02:03PM +0200, Thomas Widlundh wrote:
> 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

Thomas, 

You can check the name of the machine with the 'hostname' command.

Alternatively look for the line hostname="your.hostname" in /etc/rc.conf.

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

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?20020626214649.A335>