how to shut down linux code example
Example 1: shut down instantly on linux
sudo shutdown now
Example 2: shutdown command linux
#The shutdown command is used and the computer will shutdown in a minute.
shutdown
sudo shutdown now
#The shutdown command is used and the computer will shutdown in a minute.
shutdown