shutdown through bash code example
Example: shutdown terminal command
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot