services(4tcp)


services -- Internet services and aliases

Synopsis

/etc/services

Description

The services file contains an entry for each service available through the DARPA Internet.

Files


/var/yp/domainname/services.byname
Corresponding NIS map containing Internet services known to your network. The service name is the key in the map.

Usage

The services file is used to initialize commands and protocols with reserved values. Each entry in the services file consists of a line of the form:
   service-name port/protocol aliases

Fields must be separated by white space. A ``#'' indicates the beginning of a comment; characters appearing after the ``#'' are ignored.

The meanings of the fields are as follows:


service-name
This is the official Internet service name. Service names may contain any printable character other than a field delimiter, newline, or comment character.

port/protocol
This field is composed of the port number and protocol through which the service is provided (for example, ``512/tcp'').

aliases
This is a list of alternate names by which the service might be requested.

When the Network Information Service (NIS) is in use, it references the NIS map services.byname on the NIS server instead of /etc/services.

References

getservent(3N), inetd.conf(4tcp)

RFC 1060


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004