commands.sh

wol

linux

Client for sending Wake-on-LAN magic packets.

More info →

Options (5)

-i, --ipaddrboolean

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

Example: wol {{[-i|--ipaddr]}} {{ip_address}} {{mac_address}}
-h, --hostboolean

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

Example: wol {{[-h|--host]}} {{hostname}} {{mac_address}}
-p, --portboolean

Send a WoL packet to a specific port on a host

Example: wol {{[-p|--port]}} {{port_number}} {{mac_address}}
-f, --fileboolean

Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file

Example: wol {{[-f|--file]}} {{path/to/file}}
-v, --verboseboolean

Turn on verbose output

Example: wol {{[-v|--verbose]}} {{mac_address}}

Examples (6)

Send a WoL packet to a device

wol mac_address

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

wol [-i|--ipaddr] ip_address mac_address

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

wol [-h|--host] hostname mac_address

Send a WoL packet to a specific port on a host

wol [-p|--port] port_number mac_address

Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file

wol [-f|--file] path/to/file

Turn on verbose output

wol [-v|--verbose] mac_address
made by @shridhargupta | data from tldr-pages