Added arpresolve for resolving an IP Address to a mac address via arping

This commit is contained in:
David Thurstenson 2021-05-05 15:46:41 -05:00
parent 28061e1e7c
commit 1a2a0e83f9
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
arpresolve() {
sudo arping -f "$1" | sed -e '/.*\[\(.*\)\].*/!d' -e 's/.*\[\(.*\)\].*/\1/'
}