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
Nov 05, 20241 min read
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