Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for services (opensolaris section 4)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

services(4)				   File Formats 			      services(4)

       services - Internet services and aliases



       The  services  file   is  a  local  source of information regarding each service available
       through the Internet. The services file can be used in  conjunction  with  or  instead  of
       other  services sources, including the NIS maps "services.byname" and the NIS+ table "ser-
       vices."	Programs use the getservbyname(3SOCKET) routines to access this information.

       The services file contains an entry for each service. Each entry has the form:

	 service-name	port/protocol	aliases

       service-name	This is the official Internet service name.

       port/protocol	This field is composed of the port number and protocol through which  the
			service is provided, for instance, 512/tcp.

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

       Fields can be separated by any number of SPACE and/or TAB characters. A	number	sign  (#)
       indicates  the beginning of a comment; any characters that follow the comment character up
       to the end of the line are not interpreted by routines which search the file.

       Service names may contain any printable character other than a field delimiter, a NEWLINE,
       or a comment character.

       Any  changes  to  a port assignment do not affect the actual port registration of the ser-

       /etc/nsswitch.conf    configuration file for name-service switch

       getservbyname(3SOCKET), inetd.conf(4), nsswitch.conf(4)

       /etc/inet/services is the official SVR4 name of the  services  file.   The  symbolic  link
       /etc/services exists for BSD compatibility.

SunOS 5.11				   12 Oct 2000				      services(4)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 08:14 AM.