Skip to content

Instantly share code, notes, and snippets.

@hashlash
Last active June 25, 2020 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hashlash/da9f34412eeda6dc451bdd77d6816323 to your computer and use it in GitHub Desktop.
Save hashlash/da9f34412eeda6dc451bdd77d6816323 to your computer and use it in GitHub Desktop.
Network Inspection Cheatsheet

ip

ip a
ip link show
ip r

lspci

lspci

lshw

lshw -class network

/proc/net/dev

cat /proc/net/dev

ifconfig

ifconfig -a
ifconfig -s -a

netstat

netstat -i

arp

arp
arp -a
arp -e
arp -n

nmcli

nmcli device status
nmcli connection show

ethtool

ethtool eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment