Skip to content

Instantly share code, notes, and snippets.

@xergiodf
Created December 18, 2018 14:45
Show Gist options
  • Save xergiodf/80a8621ca9f3db2b22213a918b1d7ab6 to your computer and use it in GitHub Desktop.
Save xergiodf/80a8621ca9f3db2b22213a918b1d7ab6 to your computer and use it in GitHub Desktop.
3 simple options to know used ports in linux
# Option 1
netstat -tulpn | grep 9090
# Option 2
sudo lsof -i -P -n | grep 9090
# Option
sudo nmap -sT -O localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment