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 |
|---|
| check-hostname(1m) - opensolaris |
| ssh-argv0(1) - debian |
| hostname(5) - debian |
| hostname(1) - hpux |
| ssh-argv0(1) - mojave |
| Similar Topics in the Unix Linux Community |
|---|
| gethostbyname_r returns NULL when hostname has dash |
| Resolve IP to Hostname? |
| Getting hostname using ssh |
| DNS problem : ping doesn't recognize hostname |
| AIX Syslog where the hostname sit |