debian command line shutdown code example Example: shutdown debian $ sudo poweroff or $ sudo shutdown -h now