Sorry to bother people with such a basic question, but I am telnetting
to an HP/UX host and am without manuals. Two questions around the
hostname command:
1) Does HP/UX have a command that will return the name of the
local host?
2) Is there some portable construct to determine a local host
name? If not, then does someone have a script they could share that
is "guaranteed" to return the local hostname by determining which
system is being used and then executing the appropriate command for
that system?
--