To shutdown Ubuntu server immediately you can use the shutdown command like this.
Yes. You need to be a sudo user or root to shut down a Linux server because it is an administrative task.
Some people prefer to use shutdown -h now but that8217s not required as both refer to power-off.
Keep in mind that you must have a way to power it on back again otherwise prefer to reboot remote servers.
Linux shutdown command is not the only way to shut down Ubuntu or other Linux from the terminal. There are other commands that can be used to shutdown Linux from the shell.
But first let8217s take another look at it this command.
You can use the shutdown command without any options. This will schedule a shutdown a minute from your current time.
Read Full Post
News Link: https://linuxhandbook.com/shutdown-ubuntu-server/.
RSS Link: https://linuxhandbook.com/feed/.
Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!
Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.
Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.