GShellAutomator/Automator/utils/change_mac.sh

6 lines
110 B
Bash

#!/bin/bash
# change mac
sudo ip link set enp39s0 down
sudo macchanger -r enp39s0
sudo ip link set enp39s0 up