From 9de00590d0a1f3aea0948f767556c0a786284c7f Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 23 Mar 2021 12:30:44 +0100 Subject: [PATCH] Update functions --- home/.config/sh/functions | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/.config/sh/functions b/home/.config/sh/functions index ccd6874..f29115c 100755 --- a/home/.config/sh/functions +++ b/home/.config/sh/functions @@ -34,6 +34,12 @@ function dir-size() { fi; } +function randmac() { + sudo ip link set dev $1 down + sudo macchanger -A $1 + sudo ip link set dev $1 up +} + # Go to the root of a git tree cdgit () { git rev-parse --is-inside-work-tree > /dev/null 2>&1