Apagar:
/sbin/shutdown -h now

Reinciar:
/sbin/shutdown -r now