From 7c2fe296962bb49b3a361a62f703dbaa12619ec5 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 20 Dec 2023 10:33:03 -0500 Subject: [PATCH] Add a macro to watch for arp replies --- configs/shells/bash/macros.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/shells/bash/macros.sh b/configs/shells/bash/macros.sh index 948ccc7..c03140b 100644 --- a/configs/shells/bash/macros.sh +++ b/configs/shells/bash/macros.sh @@ -25,6 +25,7 @@ alias ufw-status="sudo ufw status numbered" alias genuuid="python -c 'import uuid; print(uuid.uuid4())'" alias clipboard="xclip -selection clipboard" alias filesize="du -hs" +alias arp-watch="sudo tcpdump -nn -tt -q \"arp and arp[6:2] == 2\"" # WHOIS macros alias whois-afrinic="whois -h whois.afrinic.net"