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