i trying find mac addresses devices show on arp -a scans on wifi network. how can mac addresses these results of calling "arp -a" in mac terminal?
? (10.10.40.1) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] us114-appletv.francisparker.org (10.10.40.92) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] 03089mac.francisparker.org (10.10.40.236) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] 02543mac.francisparker.org (10.10.41.9) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] us113-dwalcott-0.francisparker.org (10.10.41.83) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] meghans-air.francisparker.org (10.10.41.123) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] faiths-mbp-2.francisparker.org (10.10.41.132) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] 09150mac.francisparker.org (10.10.41.144) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] 02758mac.francisparker.org (10.10.41.219) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] 02769mac.francisparker.org (10.10.41.234) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.42.99) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.42.113) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.44.44) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.44.201) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.45.77) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.45.123) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.45.151) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.46.6) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet] ? (10.10.46.137) @ 0:90:b:2e:bf:ff on en0 ifscope [ethernet]
thanks!
your question unclear; mac addresses listed in above output. assume mean "how convert arp
output newline separated list of mac addresses?" that's trivial cut
fourth column.
arp -a | cut -d' ' -f 4
Comments
Post a Comment