shutdown command ubuntu time code example
Example 1: shutdown terminal command
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot
Example 2: ubuntu auto shutdown
sudo shutdown -h +60
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot
sudo shutdown -h +60