NAME | DESCRIPTION | FILES | BUGS | HISTORY | RESTRICTIONS FOR ChorusOS | ATTRIBUTES | SEE ALSO
The services file contains information regarding the known services available on the DARPA Internet. For each service, a single line should be present containing the following information: service_name port_number/protocol_name aliases
Items are separated by any number of blanks and/or tab characters. The port number and protocol name are considered to be a single item ; a ``/'' is used to separate the port and protocol (for example, ``512/tcp''). A ``#'' at the beginning of a line indicates a commnet; subsequent characters up to the end of the line are not interpreted by the routines which search the file. Service names may contain any printable character other than a field delimiter, newline, or comment character.
/etc/services The services file resides in /etc .
A name server should be used instead of a static file.
This file format appeared in 4.2BSD .
Currently, this file is only used with ftp and telnet clients. The only relevant information concerns getting the port number of the ftp protocol: ftp 21/tcp, and of telnet protocol: ftp 23/tcp .
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | DESCRIPTION | FILES | BUGS | HISTORY | RESTRICTIONS FOR ChorusOS | ATTRIBUTES | SEE ALSO