Created
September 17, 2025 00:18
-
-
Save rothgar/2ebaddd19d28e3fc561281a1b1bf778e to your computer and use it in GitHub Desktop.
Wake on lan with hard coded hosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TARGETS="never 00:03:1d:aa:aa:aa | |
gonna 00:03:1d:bb:bb:bb | |
give-you 00:03:1d:cc:cc:cc | |
up 00:03:1d:dd:dd:dd | |
z c8:d9:d2:ee:ee:ee" | |
TARGET=$(echo "$TARGETS" | column -t | fzf | awk '{print $2}') | |
wakeonlan ${TARGET} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment