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 ssh Remotely Initiated Reverse SSH Tunnel
Viewed 2573 times since Wed, Apr 22, 2020
Linux - How to unlock and reset user’s account
Viewed 3685 times since Fri, Jun 8, 2018
Linux PAM configuration that allows or deny login via the sshd server
Viewed 1570 times since Wed, Oct 3, 2018
RHEL : How to deal with “CLOSE_WAIT” and “TIME_WAIT” connection
Viewed 24804 times since Thu, Feb 14, 2019
LVM: Extend an existing Logical Volume / Filesystem
Viewed 2140 times since Sat, Jun 2, 2018
Check a Website Availability from the Linux Command Line
Viewed 6140 times since Mon, Feb 18, 2019
RHEL: Extending a vmdk (Virtual Machine disk)
Viewed 3760 times since Sun, May 27, 2018
What Is /dev/shm And Its Practical Usage
Viewed 7441 times since Tue, Mar 12, 2019
What UUIDs can do for you
Viewed 1540 times since Tue, Jul 17, 2018
debian Debian/Ubuntu Linux: Find If Installed APT Package Includes a Fix/Patch Via CVE Number
Viewed 9146 times since Sun, Sep 23, 2018