Added arpresolve for resolving an IP Address to a mac address via arping
This commit is contained in:
parent
28061e1e7c
commit
1a2a0e83f9
|
@ -0,0 +1,3 @@
|
||||||
|
arpresolve() {
|
||||||
|
sudo arping -f "$1" | sed -e '/.*\[\(.*\)\].*/!d' -e 's/.*\[\(.*\)\].*/\1/'
|
||||||
|
}
|
Loading…
Reference in New Issue