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