🧀 Learn Linux

Advanced · Observation System

lsof: View open files and ports

Syntax

lsof [-i :port]

Examples

sudo lsof -i :8080

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands