Technical data

CONVERT/UNIX HOST
CONVERT/UNIX HOST
Reads the hosts database and converts the information to an ASCII file formatted
for use as a hosts file on a UNIX system.
The name and location of the hosts database is specified by the logical
name TCPIP$HOST. If this name is not defined, the command looks for
TCPIP$HOST.DAT in your current directory.
Related commands: CREATE HOST, SET HOST, SHOW HOST
Format
CONVERT/UNIX HOST [ destination_file ]
[ /BYADDRESS ]
[ /LOG ]
Restrictions
Requires:
Read access to the hosts database.
Write access to [ ]ETC.HOSTS.
Parameters
destination_file
Optional. Default: [ ]ETC.HOSTS (UNIX formatted)
Allows you to specify the name for the new file.
Qualifiers
/BYADDRESS
Optional. Default: Sorts by name.
Sorts entries in the converted file by IP address.
/LOG
Optional. Default: No display.
Interactively displays the processing.
Examples
1.
TCPIP> CONVERT/UNIX HOST
Converts the hosts database TCPIP$HOST to an ASCII file that is formatted
for use as a hosts file on a UNIX system. The resulting file is named (default)
ETC.HOSTS in the current directory and can be used on a UNIX system as
the file
/etc/hosts
.
2–18 Command Descriptions