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