host and hostname

Ruben de Groot mail23 at bzerk.org
Wed Sep 3 01:59:05 PDT 2003


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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
> 
> 	+---------------------------+
> 	|    Peter Ulrich Kruppa    |
>         |         Wuppertal         |
>         |          Germany          |
>         +---------------------------+
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list