Skip to content

Instantly share code, notes, and snippets.

@rothgar
Created September 17, 2025 00:18
Show Gist options
  • Save rothgar/2ebaddd19d28e3fc561281a1b1bf778e to your computer and use it in GitHub Desktop.
Save rothgar/2ebaddd19d28e3fc561281a1b1bf778e to your computer and use it in GitHub Desktop.
Wake on lan with hard coded hosts
#!/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