How can I get a hosts current fqdn address easily?

I'm from linux and there `hostname' has a switch `-f' that prints the
fully qualified domain name.

But on Opensolaris neither of:
   /usr/gnu/bin/hostname
   /bin/hostname

Appears to have that switch.  Or any way to get fqdn through
`hostname'.

Maybe some other simple command will print it?

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to