addhost man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



ADDHOST(1M)							   ADDHOST(1M)

NAME
     addhost - add and modify an entry in the host file.

SYNOPSIS
     /usr/sysadm/privbin/addhost -i ipAddress -h hostName [-f]

DESCRIPTION
     Addhost adds or modifies an entry in the host file. The entry is added to
     the end of /etc/hosts. If the hostname already exists, the entry is
     modified to use the new IP address. If the IP address already exists, the
     hostname is updated to use the new hostname.

OPTIONS
     -i ipAddress
	       The ipAddress should be in dotted notation, e.g. 195.3.4.60.

     -h hostName
	       The hostName can be just the name, e.g. foo, or a fully
	       qualified name, e.g. foo.company.com.

     -f	       If this flag is not used, the entry is not added when the entry
	       exists remotely.	 If this flag is used, the entry is added
	       without checking for remote existance.

FILES
     /etc/hosts	   System host name file

SEE ALSO
     sysmgr(1M), runpriv(1M), hosts(4).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net