Linux - How to shutdown or reboot

Linux - How to shutdown or reboot

 
To reboot.
[root@myserver]# reboot
or
[root@myserver]# shutdown -r now
or
[root@myserver]# init 6


To shutdown the Operating System.
By default shutdown command will bring the Operating System to runlevel 1
[root@myserver]# shutdown


To shutdown the Operating System and poweroff.
[root@myserver]# shutdown -h now


To cancel shutdown.
[root@myserver]# shutdown -c
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
stunnel bacula
Viewed 2141 times since Fri, Sep 28, 2018
RHEL7 slow ssh login
Viewed 4461 times since Tue, Aug 6, 2019
HowTo: Send Email from an SMTP Server using the Command Line
Viewed 2085 times since Mon, Feb 18, 2019
How to Migrate from RHEL 8 to CentOS 8
Viewed 3133 times since Fri, May 15, 2020
Using IOzone for Linux disk performance analysis
Viewed 8025 times since Wed, Jul 25, 2018
How to encrypt a partition using LUKS?
Viewed 1924 times since Fri, Jul 13, 2018
Netcat shell zabezpieczony hasłem
Viewed 2315 times since Thu, May 24, 2018
How To Use Systemctl to Manage Systemd Services and Units
Viewed 7597 times since Mon, Dec 7, 2020
ubuntu How to reset lost root password on Ubuntu 16.04 Xenial Xerus Linux
Viewed 8341 times since Tue, Dec 8, 2020
RHEL: Multipathing basics
Viewed 9313 times since Sat, Jun 2, 2018