debian 9 install netstat code example Example: netstat install # apt install net-tools [On Debian/Ubuntu]