HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

wakeonlan — Send packets to wake-on-LAN (WOL) enabled PCs. More information: <https://manned.org/wakeonlan>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
sendcommandwakewolcliwakeonlanpacketslan

Problem

How to use the wakeonlan command: Send packets to wake-on-LAN (WOL) enabled PCs. More information: <https://manned.org/wakeonlan>.

Solution

wakeonlan — Send packets to wake-on-LAN (WOL) enabled PCs. More information: <https://manned.org/wakeonlan>.

Send packets to all devices on the local network (255.255.255.255) by specifying a MAC address:
wakeonlan {{01:02:03:04:05:06}}


Send packet to a specific device via IP address:
wakeonlan {{01:02:03:04:05:06}} {{[-i|--ip]}} {{192.168.178.2}}


Print the commands, but don't execute them (dry-run):
wakeonlan {{[-n|--dry-run]}} {{01:02:03:04:05:06}}


Run in quiet mode:
wakeonlan {{[-q|--quiet]}} {{01:02:03:04:05:06}}

Code Snippets

Send packets to all devices on the local network (255.255.255.255) by specifying a MAC address

wakeonlan {{01:02:03:04:05:06}}

Send packet to a specific device via IP address

wakeonlan {{01:02:03:04:05:06}} {{[-i|--ip]}} {{192.168.178.2}}

Print the commands, but don't execute them (dry-run)

wakeonlan {{[-n|--dry-run]}} {{01:02:03:04:05:06}}

Run in quiet mode

wakeonlan {{[-q|--quiet]}} {{01:02:03:04:05:06}}

Context

tldr-pages: common/wakeonlan

Revisions (0)

No revisions yet.