Linux - check which ports are in use
- Language:: Bash
- Type:: Server
- Context:: CLI
- Description – gives a list of ports in use by the system it is being running
- Snippet
$ sudo lsof -i -P -n | grep LISTEN
Mar 13, 20261 min read
$ sudo lsof -i -P -n | grep LISTEN