Send a WoL packet to a device in another subnet based on its hostname

wol

  • Client for sending Wake-on-LAN magic packets.
    More information: <https://sourceforge.net/projects/wake-on-lan/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

wol --host={{hostname}} {{mac_address}}

click the source code to copy install wol on any operating system with command-not-found.com