How to make wol through SSh

i cant make "wake on lan" with ssh. i have installed etherwake package, but i dont follow the step (write command) to wake on lan.
Someone could explain step to step?
thank