Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/h/hostname.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/h/hostname.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/h/hostname.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/h/hostname.html on line 8
Set or print the name of the current host system
hostname [-s] [name_of_host]
QNX Neutrino, Microsoft Windows
- -s
- Trim off any domain information from the printed
name.
- name_of_host
- The name to be given to the current host system.
When the system starts, it
initializes the hostname. As superuser, you can use the
hostname utility to change the hostname.
Without a name_of_host argument,
hostname prints the name of the current host.
|
This utility sets or gets the value of the _CS_HOSTNAME
configuration string, not that of the HOSTNAME environment
variable. |
gethostname()
in the Library Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/h/hostname.html on line 108
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/h/hostname.html on line 108