Quote:
Originally Posted by tmancill
See the man page for hostname, specifically "hostname -f" should show you the FQDN. This should be a little more portable than looking at /etc/resolv.conf, in case you run into machines that NIS+.
|
Read the manual page for resolv.conf too, it helps to understand its syntax -> man resolv.conf