services(5) File Formats Manual services(5)
Name
services - service name file
Description
The file is an ASCII file that contains information regarding the known services available in the DARPA Internet. For each service, a sin-
gle line should be present with the following information:
official service name
port number
protocol name
aliases
Each name is separated from the next by a new line. Items are separated by any number of blanks or tab characters or both. The port num-
ber and protocol name are considered a single item; a backslash () is used to separate the port and protocol (for example, 512/tcp). A
number sign (#) indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines that search the
file.
Service names can contain any printable character other than a field delimiter, newline, or comment character.
The database may be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod. See the Guide to the Yellow Pages
Service or the chapter on Hesiod in the Guide to the BIND/Hesiod Service for setup information.
Files
See Also
getservent(3n)
Guide to the BIND/Hesiod Service
Guide to the Yellow Pages Service
services(5)