#!/bin/bash mac="\\x${1//:/\\x}" wol="\xFF\xFF\xFF\xFF\xFF\xFF" for i in {1..16}; do wol+="$mac"; done printf "$wol" > "/dev/udp/$2/9"
reply
reply