$ grep -i "$query" /etc/services

Poort-naslag

Zoek op poortnummer of dienstnaam om te zien waar een poort voor gebruikt wordt.