how to shutdown linux using terminal code example
Example 1: shut down instantly on linux
sudo shutdown now
Example 2: shutdown terminal command
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot
sudo shutdown now
#Shutdown
sudo shutdown -h now
#or
sudo shutdown -h [TIME]
#Reboot
sudo reboot