Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 10:59:46 +0200
From:      Ruben de Groot <mail23@bzerk.org>
To:        Peter Ulrich Kruppa <root@pukruppa.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: host and hostname
Message-ID:  <20030903085946.GA35676@ei.bzerk.org>
In-Reply-To: <20030903100321.O649@pukruppa.net>
References:  <004e01c371ed$e0fc3a00$3601a8c0@nova> <20030903100321.O649@pukruppa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 03, 2003 at 10:07:12AM +0200, Peter Ulrich Kruppa typed:
> On Wed, 3 Sep 2003, Rommel B. Ikeda wrote:
> 
> > Hi...
> >
> > I am still a newbie...and practicing how to get use to FreeBSD and UNIX...
> >
> > I have a question:
> > Why is it when I invoke the command "host", this comes out "host not found,
> > try again".
> host selects information from the internet about registered
> domains, try
> # host freebsd.org
> 
> > But if I invoke the "hostname" command it displays my hostname and Domain...
> hostname reads your local /etc/rc.conf file.

Actually, it reads or sets sysctl kern.hostname

> > Can someone point me to some information about it aside from the man
> > pages...

What's wrong with the manpages? They are very clear on this subject.
If you want to get used to FreeBSD and Unix, get used to reading 
manpages.

Ruben

> > Thank you,
> >
> > Rommel B. Ikeda
> >
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> >
> 
> 	+---------------------------+
> 	|    Peter Ulrich Kruppa    |
>         |         Wuppertal         |
>         |          Germany          |
>         +---------------------------+
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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