xref: /csrg-svn/share/man/man5/services.5 (revision 49647)
1*49647Scael.\" Copyright (c) 1983, 1991 The Regents of the University of California.
236757Sbostic.\" All rights reserved.
320841Smckusick.\"
4*49647Scael.\" %sccs.include.redist.roff%
520841Smckusick.\"
6*49647Scael.\"     @(#)services.5	6.6 (Berkeley) 05/10/91
736757Sbostic.\"
8*49647Scael.Dd
9*49647Scael.Dt SERVICES 5
10*49647Scael.Os BSD 4.2
11*49647Scael.Sh NAME
12*49647Scael.Nm services
13*49647Scael.Nd service name data base
14*49647Scael.Sh DESCRIPTION
1520841SmckusickThe
16*49647Scael.Nm services
1720841Smckusickfile contains information regarding
18*49647Scaelthe known services available in the
19*49647Scael.Tn DARPA
20*49647ScaelInternet.
2120841SmckusickFor each service a single line should be present
2220841Smckusickwith the following information:
23*49647Scael.Bd -unfilled -offset indent
2420841Smckusickofficial service name
2520841Smckusickport number
2620841Smckusickprotocol name
2720841Smckusickaliases
28*49647Scael.Ed
29*49647Scael.Pp
3020841SmckusickItems are separated by any number of blanks and/or
3120841Smckusicktab characters.  The port number and protocol name
3220841Smckusickare considered a single
33*49647Scael.Em item ;
3420841Smckusicka ``/'' is used to
3520841Smckusickseparate the port and protocol (e.g. ``512/tcp'').
3620841SmckusickA ``#'' indicates the beginning of
3730185Sbostica comment; subsequent characters up to the end of the line are
3830185Sbosticnot interpreted by the routines which search the file.
39*49647Scael.Pp
4020841SmckusickService names may contain any printable
4120841Smckusickcharacter other than a field delimiter, newline,
4220841Smckusickor comment character.
43*49647Scael.Sh FILES
44*49647Scael.Bl -tag -width /etc/services -compact
45*49647Scael.It Pa /etc/services
46*49647ScaelThe
47*49647Scael.Nm services
48*49647Scaelfile resides in
49*49647Scael.Pa /etc .
50*49647Scael.El
51*49647Scael.Sh SEE ALSO
52*49647Scael.Xr getservent 3
53*49647Scael.Sh BUGS
5420841SmckusickA name server should be used instead of a static file.
55*49647Scael.Sh HISTORY
56*49647ScaelThe
57*49647Scael.Nm
58*49647Scaelfile format appeared in
59*49647Scael.Bx 4.2 .
60