netstat [options]Arguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
netstat -tlnpLists listening TCP ports with processes when permitted.
netstat -rnDisplays the routing table numerically.
| Field | Details |
|---|---|
| Command | netstat |
| Category | Networking |
| Primary use | Displays network connections and routing information. |
| Syntax | netstat [options] |