You can shutdown the system by typing:
shutdown
To power off the machine, you can also enter:
poweroff
If you wish to reboot the machine, you can enter:
shutdown -R now
Alternatively:
reboot
For more information, please see the following manpages: