Query: hostname
OS: osf1
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
hostname(1) General Commands Manual hostname(1)NAMEhostname - Sets or displays the name of the current host systemSYNOPSIShostname [-s] [new_name]DESCRIPTIONThe hostname command sets or displays the name of the current host system. If you use the -s option, the short form of the host name is displayed. Only the superuser can set the hostname.EXAMPLESTo display the short form of the local host name, enter: $ hostname -s host1 To change the name of the local host, enter: # hostname westFILESDefines the Interface Program name and address of the local host.SEE ALSOCommands: hostid(1) Functions: gethostname(2), sethostname(2) hostname(1)
| Related Man Pages | 
|---|
| pmhostname(1) - centos | 
| hostname(1) - hpux | 
| hostid(1) - osf1 | 
| arp(1m) - v7 | 
| arp(1m) - minix | 
| Similar Topics in the Unix Linux Community | 
|---|
| How to show hostname infor after login | 
| Resolve IP to Hostname? | 
| FQDN into domain name and hostname | 
| How to extract hostname from file using awk? | 
| DNS problem : ping doesn't recognize hostname |