This article will guide you on different ways to shut down CentOS system. Using either of the above-discussed command line or GUI way, you can easily shutdown your #CentOS system.
To shut down the system from a terminal session, sign in or "su" to the "root" account. Then type ``/sbin/shutdown -r now''.
It may take several moments for all processes to be terminated, and then Linux will shut down.
In #Unix and #Linux, the shutdown command can be used to turn off or reboot a computer. Only the superuser can shut the system down.
One commonly issued form of this command is shutdown -h now , which will shut down a system immediately.
Another one is shutdown -r now to reboot.
https://linuxapt.com/blog/75-how-to-shutdown-centos-8