List All Ports (both listening and non listening ports)
sudo netstat -tulpn
selecting a given port Ex: 80
sudo netstat -tulpn | grep :80
Written by sameera207
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#