how to shut down with terminal raspberry pi code example Example: how to shutdown raspbian command #poweroff sudo poweroff #reboot sudo reboot