Notice: Printed output does not means to assigned and operating in system. It may or not.
┌ Print all of services
│$ cat /etc/services
│ ────┬────────
│ └'has well-known port info'
└─────
┌ Print specific service
│$ grep -w 7000 /etc/services
│ ─┬──
│ └'port-number you interested in'
└─────
┌ Print specific service
│$ egrep -w '7000/(tcp|udp)' /etc/services
│ ─┬────────────
│ └'port-number & protocol-type'
└─────
Top comments (0)