xref: /original-bsd/share/man/man5/services.5 (revision 4092c5cc)
1.\" Copyright (c) 1983, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"     @(#)services.5	8.1 (Berkeley) 06/05/93
7.\"
8.Dd
9.Dt SERVICES 5
10.Os BSD 4.2
11.Sh NAME
12.Nm services
13.Nd service name data base
14.Sh DESCRIPTION
15The
16.Nm services
17file contains information regarding
18the known services available in the
19.Tn DARPA
20Internet.
21For each service a single line should be present
22with the following information:
23.Bd -unfilled -offset indent
24official service name
25port number
26protocol name
27aliases
28.Ed
29.Pp
30Items are separated by any number of blanks and/or
31tab characters.  The port number and protocol name
32are considered a single
33.Em item ;
34a ``/'' is used to
35separate the port and protocol (e.g. ``512/tcp'').
36A ``#'' indicates the beginning of
37a comment; subsequent characters up to the end of the line are
38not interpreted by the routines which search the file.
39.Pp
40Service names may contain any printable
41character other than a field delimiter, newline,
42or comment character.
43.Sh FILES
44.Bl -tag -width /etc/services -compact
45.It Pa /etc/services
46The
47.Nm services
48file resides in
49.Pa /etc .
50.El
51.Sh SEE ALSO
52.Xr getservent 3
53.Sh BUGS
54A name server should be used instead of a static file.
55.Sh HISTORY
56The
57.Nm
58file format appeared in
59.Bx 4.2 .
60