1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/netstat.md

24 lines
317 B
Markdown
Raw Normal View History

2014-09-11 16:08:56 +05:30
# netstat
> Displays various networks related information such as open connections, open socket ports etc
- List all ports
2014-09-11 16:08:56 +05:30
`netstat -a`
- List all listening ports
2014-09-11 16:08:56 +05:30
`netstat -l`
- List listening TCP ports
2014-09-11 16:08:56 +05:30
`netstat -t`
2014-09-11 16:08:56 +05:30
- Display PID and program names
2014-09-11 16:08:56 +05:30
`netstat -p`
2014-09-11 16:08:56 +05:30
2015-12-28 17:27:02 -05:00
- List information continuously
2014-09-11 16:08:56 +05:30
`netstat -c`