Netstat is a useful tool if you want to troubleshoot or display network related information. You can list all the open connections, open socket, ports, etc… Let me show you how to install netstat on Alpine Linux.
Prerequisites
- Alpine Linux
- sudo privileges
Install netstat on Alpine Linux
Step 1. Update the Alpine packages.
sudo apk add update
Step 2. Install netstat on Alpine Linux.
sudo apk add net-tools
Step 3. Verify the installation.
netstat -v
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.