WSL/diagnostics/networking.sh
Catalin-Emil Fetoiu 2aedc74cb8 wip address cr
2023-08-24 17:02:01 -07:00

16 lines
258 B
Bash

#! /bin/bash
set -xu
# Gather distro & kernel info.
lsb_release -a || cat /etc/issue /etc/os-release
uname -a
# Output adapter & routing configuration.
ip a
ip route show table all
ip neighbor
ip link
# Display the DNS configuration.
cat /etc/resolv.conf