How to reboot your mac
First Command: /sbin/fsck -fy (don't forget the spaces)
Second Command: /sbin/mount -uw / ( don't forget the spaces between t and u and w and /)
Third Command: rm /var/db/.Applesteupdone ( don't forget the spaces between the rm and /)
Fourth Command: Reboot