Linux
Difficulty: unrated
Source: bregman-arie/devops-exercises by Arie Bregman
One of the following would work:
netstat -tnlp | grep lsof -i -n -P | grep