Interview Prep/Linux/Rapid-Fire Commands

Show open network connections of a single process.

BeginnerProductionRapid-Fire Commands
Answer
sudo lsof -a -p 1234 -i
sudo ss -tnp | grep 'pid=1234,'
All Linux questions Roadmap: Linux

More on Rapid-Fire Commands