Linux: How do I restart /shutdown from a terminal? January 10, 2014 by ray For shutdown: sudo poweroff For restart: sudo reboot