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