What Is Etc Services File in Linux?
Contents the /Etc/Services File Is Used by Applications to Translate Human Readable Service Names into Port Numbers When Connecting to a Machine Across a...
The /etc/services file is used by applications to translate human readable service names into port numbers when connecting to a machine across a network. The file will typically include the service name, port/protocol, any aliases, and comments.
What does ETC services contain in Linux?
UNIX operating systems store what’s called a services file at /etc/services. It stores information about numerous services that client applications might use on the computer. Within the file are the service name, port number, and protocol it uses, and any applicable aliases.
Must Read
How do I add a port to ETC services in Linux?
Setting the Service Name and Port Number – UNIX
- Log in as superuser, then display the /etc/services file.
- Viewing the existing port numbers, select any number between 1024 and 16000 that is not listed in the file.