* On 2002.04.04, in <[EMAIL PROTECTED]>,
* "Will Yardley" <[EMAIL PROTECTED]> wrote:
>
> also, the fact that the 'hostname' command in FreeBSD has a '-s' switch
> (which trims off any domain information) seems to indicate that at least
> some people set it this way; uname -n seems to report
David Champion wrote:
>
> It says "uname: not super user" because uname(2) is the syscall that
> sets the hostname.
>
> Just use uname -n on all operating systems, and don't trouble yourself
> with the switch. "uname -n" returns the nodename. The nodename is the
> "real" hostname, and has nothin