[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f263j3e5p6cy61":3},{"type":4,"solution":5},"solution",{"slug":6,"platform":7,"title":8,"description":9,"risk":10,"categorySlug":11,"tags":12,"verifiedAt":19,"updatedAt":19,"categoryName":20,"command":21,"undoCommand":22,"directAnswer":23,"explanation":24,"warning":25,"seoTitle":26,"seoDescription":27,"requirements":28,"macosSupport":29,"sources":30,"related":37},"list-open-ports-linux","linux","List listening ports on Linux","Show all TCP\u002FUDP sockets that are listening, with the owning process.","low","network",[13,16],{"slug":14,"name":15},"diagnostics","Diagnostics",{"slug":17,"name":18},"processes","Processes","2025-11-21T00:00:00.000Z","Network","ss -tulpn",null,"Run the command below. It prints every listening TCP and UDP socket with local address, port and process name. Prefix with sudo to see process names for sockets owned by other users.","ss is the modern iproute2 replacement for netstat and is installed by default on most distributions. -t TCP, -u UDP, -l listening only, -p show processes, -n numeric ports. Use it to find which service occupies a port before changing configs.","Only act on processes you recognize; system services legitimately listen on many ports.","List Open Listening Ports on Linux — ss Command","Show all listening TCP\u002FUDP ports and their processes on Linux with ss -tulpn, the modern netstat replacement.","sudo for process names of other users' sockets","Linux with iproute2 (Debian\u002FUbuntu, RHEL, Arch 等)",[31],{"url":32,"title":33,"publisher":34,"sourceType":35,"evidence":36,"retrievedAt":19},"https:\u002F\u002Fman7.org\u002Flinux\u002Fman-pages\u002Fman8\u002Fss.8.html","ss(8) — another utility to investigate sockets","man7.org","vendor-doc","ss -tulpn displays TCP\u002FUDP listening sockets with processes; -p needs privileges for other users' sockets.",[38],{"slug":39,"platform":7,"title":40,"description":41,"risk":10,"categorySlug":42,"tags":43,"verifiedAt":19,"updatedAt":19},"find-largest-files-linux","Find the largest files and folders on Linux","Rank the 20 biggest items under the current directory by disk usage.","files",[44,46,47],{"slug":42,"name":45},"Files",{"slug":14,"name":15},{"slug":48,"name":49},"terminal","Terminal"]