Zuletzt aktiv 8 months ago

Änderung 844b2b9666590b2862403b04db71e102cb5496db

arp with vendor info.md Originalformat

arp command with vendor information

arp -n | grep -viE "inc|iface" \
  | while read -r ip type mac state ifname; \
    do vendor=$(echo ${mac^^} \
    | sed 's/://g' \
    | cut -c 1-6); echo -ne "${ifname}\t${ip}\t${mac} $(grep ${vendor} /usr/share/ieee-data/oui.txt \
    | cut --output-delimiter=" " -c 1-6,23- )\n"; \
    done