Explorar el Código

Add 'netstat -tunlp'

Laurie Summers hace 1 año
padre
commit
9d0e748f67
Se han modificado 1 ficheros con 16 adiciones y 0 borrados
  1. 16 0
      netstat -tunlp

+ 16 - 0
netstat -tunlp

@@ -0,0 +1,16 @@
+from: https://linuxize.com/post/check-listening-ports-linux/
+
+Check Listening Ports with netstat
+netstat is a command-line tool that can provide information about network connections.
+
+To list all TCP or UDP ports that are being listened on, including the services using the ports and the socket status use the following command:
+
+sudo netstat -tunlp
+
+The options used in this command have the following meaning:
+
+-t - Show TCP ports.
+-u - Show UDP ports.
+-n - Show numerical addresses instead of resolving hosts.
+-l - Show only listening ports.
+-p - Show the PID and name of the listener’s process. This information is shown only if you run the command as root or sudo user.