Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 352 Bytes

netstat.md

File metadata and controls

11 lines (11 loc) · 352 Bytes

Netstat Command

It is used to check for listening ports on a linux machine.

# check for all tcp & udp ports that are being listened on
netstat -tulnp
# -t -> show tcp ports
# -u -> show udp ports
# -n -> show numerical addresses instead of resolving hosts
# -l -> show only listening ports
# -p -> show pid & name of process listening