$netstat
Print network connections, routing tables, interface statistics, and listening ports.
netstat [OPTIONS]Попробуйте в интерактивной песочнице
Клиентская симуляция без установки с мгновенным результатом.
Обзор и принцип работы
`netstat` (Network Statistics) provides comprehensive visibility into incoming and outgoing network connections, listening TCP/UDP ports, routing tables, and interface metrics.
Основные флаги и параметры команды
| Flag / Option | Description |
|---|---|
| -t | Display TCP network connections. |
| -u | Display UDP network connections. |
| -l | Show only listening server sockets. |
| -p | Show the PID and program name to which each socket belongs. |
| -n | Show numerical addresses and port numbers instead of resolving hostnames. |
Практические примеры использования
netstat -tulnLists all open TCP and UDP ports in numeric format.
Похожие команды Linux
Передача данных и выполнение сетевых запросов по протоколам HTTP, HTTPS и REST API.
Non-interactive network downloader for HTTP, HTTPS, and FTP.
Send ICMP ECHO_REQUEST to network hosts to test connectivity and latency.
Securely log into remote Linux servers and execute commands over encrypted connections.
Securely copy files and directories between hosts over SSH connection.
Fast and versatile remote and local file-copying and synchronization tool.