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
Linux RAID Mdadm Cheat Sheet
Viewed 5574 times since Fri, May 15, 2020
Linux - Cannot login from remote console but can access via ssh
Viewed 5387 times since Fri, Jun 8, 2018
How to use yum command on CentOS/RHEL
Viewed 11181 times since Wed, Oct 17, 2018
RHEL: Extending a multipath LUN
Viewed 5238 times since Sun, May 27, 2018
How to encrypt a partition using LUKS?
Viewed 1972 times since Fri, Jul 13, 2018
RHEL: Reinstalling Boot Loader on the Master Boot Record (MBR)
Viewed 3539 times since Sun, May 27, 2018
How To Set Up an SSL Tunnel Using Stunnel on Ubuntu
Viewed 3446 times since Fri, Sep 28, 2018
Linux An introduction to swap space on Linux systems
Viewed 2571 times since Thu, Jan 23, 2020
Top 20 OpenSSH Server Best Security Practices - good article
Viewed 10834 times since Mon, Oct 1, 2018
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 130187 times since Thu, Jun 21, 2018