shutdown command code example
Example 1: cmd shutdown
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
Example 2: shutdown terminal command
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot
Example 3: shutdown debian
$ sudo poweroff
or
$ sudo shutdown -h now
Example 4: how to power down pc using cmd
shutdown /s