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 |
|---|
| ssh-argv0(1) - linux |
| check-hostname(1m) - sunos |
| ssh-argv0(1) - debian |
| pmhostname(1) - centos |
| sethostname(2) - hpux |
| Similar Topics in the Unix Linux Community |
|---|
| Configure DNS |
| IP details for Unix/Linux login clients? |
| changing ip and hostname on solaris |
| gethostbyname_r returns NULL when hostname has dash |
| DNS problem : ping doesn't recognize hostname |