Which files contain host, network, protocol, and service information in Linux?

Subh Singh
Invent the Future
The files are:
/etc/hosts
/etc/networks
/etc/protocols
/etc/services
The above files store host, network, protocol, and service information in Linux.
Example:
/etc/hosts– Provides information about the hostnames and their IP addresses./etc/networks– Provides information about network names and their network addresses./etc/protocols– Provides information about network protocols./etc/services– Provides information about service names and their port numbers.











