Exemplos de Uso
$
echo "=== INTERFACES ==="
ip addr show
$
echo "=== ROTAS ==="
ip route show
$
echo "=== DNS ==="
cat /etc/resolv.conf
dig google.com +short
$
echo "=== PORTAS ABERTAS ==="
ss -tlnp
$
echo "=== CONEXÕES ESTABELECIDAS ==="
ss -tn state established | wc -l
$
echo "=== TESTE DE CONECTIVIDADE ==="
ping -c 3 8.8.8.8
curl -I https://google.com -s -o /dev/null -w "%{http_code}"