Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a terminal command within Mac OSX that will allow me to use WOL (Wake On LAN) to wake up other computers? Windows has wolcmd, is there an equivalent within OSX?

I am trying to wake a computer from my rMBP, within my network. My rMBP is connected via WiFi normally, but can also be connected via Thunderbolt GbE connector. The target computer is a Windows machine that I want to wake up before I connect to it using a remote desktop connection.

share|improve this question
$ ~/bin/wakeonlan server-mac-address-here – Buscar웃 Jun 30 '13 at 7:35
@Buscar, On my mac (OS X 10.8.4), I get -bash: /Users/Dygear/bin/wakeonlan: No such file or directory. – Mark Tomlin Jun 30 '13 at 10:11
up vote 3 down vote accepted

wolcmd is available for Mac:

GUI version for $1.99, terminal version is free. Usage is just the same as its Windows counterpart.

share|improve this answer
Thank you sir! Just what I was looking for! – Mark Tomlin Jun 30 '13 at 10:13
Glad I could help :) – b4d Jun 30 '13 at 10:56

The wakeonlan command for command-line can be added to OS X using the homebrew package manager.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.