Personal tools
You are here: Home Open Source && Programming && Life Fully Qualified Domain Name under Solaris 8

Fully Qualified Domain Name under Solaris 8 Fully Qualified Domain Name under Solaris 8

Document Actions
Submitted by ironstorm. on 2007-04-28 05:13.

Seems there is no portable way to resolve the FQDN, one way to get this info on Solaris 8 (an OS a bit on the barren side tooling-wise) is to ask the mailer as follows:

FQDN=`/usr/lib/mail/sh/check-hostname|cut -d" " -f7`
Blog
« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Categories:
Best Practices (0)
Cooking (2)
EeePC (1)
Embedded (3)
HDTV (2)
Health (1)
J2EE (1)
Java (6)
Linux (24)
Movies (1)
Music (3)
MythTV (10)
NSLU2 (2)
Not Tech (11)
Plone (2)
Politics (2)
QEMU (4)
Tomcat (1)
Tooling (4)
Travel (1)
VoIP (1)
Websphere (1)
Windows (6)
Zaurus (4)
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: