hostname(1) General Commands Manual hostname(1) Name hostname - print system name Syntax hostname [nameofhost] Description The command prints the name of the current host, as given before the ``login'' prompt. The super-user can set the hostname by giving an argument; this is usually done in the startup script See Also gethostname(2), sethostname(2) hostname(1)
| Related Man Pages |
|---|
| gethostname(2) - redhat |
| ssh-argv0(1) - debian |
| pmhostname(1) - centos |
| gethostname(2) - hpux |
| ssh-argv0(1) - opendarwin |
| Similar Topics in the Unix Linux Community |
|---|
| Configure DNS |
| changing ip and hostname on solaris |
| Hostname displays incorrectly |
| gethostbyname_r returns NULL when hostname has dash |
| Resolve IP to Hostname? |