Run the commands shown in this example as the Oracle user account to set the ORACLE_HOSTNAME
environment variable.
somehost.example.com
.Bourne, Bash or Korn Shell
$ ORACLE_HOSTNAME=somehost.example.com $ export ORACLE_HOSTNAME
C Shell
% setenv ORACLE_HOSTNAME somehost.example.com