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