-a, --all : Show both listening and non-listening sockets.
-l, --listening: Show only listening sockets.
-t, --tcp: Display TCP connections.
-u, --udp: Display UDP connections.
-4, --inet: Show only IPv4 connections.
-6, --inet6: Show only IPv6 connections.
-n, --numeric: Display numerical addresses instead of resolving host, port, or user names, which speeds up output generation.
-p, --program: Show the PID and name of the program to which each socket belongs (PID/Program Name). Root privileges are typically required to view this information.