shutdown using terminal code example
Example 1: shutdown windows terminal
shutdown -s -t 0
Example 2: shutdown terminal command
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot
shutdown -s -t 0
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot