mbaker@??? said:
> uname -n also gives the unqualified name. Is there any portable way to
> get the FQDN?
Since all machines will, almost by definition, have exim
exim -bP primary_hostname
As a more general answer, I'd suggest looking at the Perl CPAN modules
- there is at least one that deals with the problem of getting hold of
the host name in a manner that works on all machines.
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000 Fax +44 1423 858866 ]
--
*** Exim information can be found at
http://www.exim.org/ ***