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
CentOS / RHEL : How to move a Volume Group from one system to another
Viewed 4423 times since Mon, Jan 28, 2019
A Quick and Practical Reference for tcpdump
Viewed 13155 times since Fri, Jul 27, 2018
Top 20 OpenSSH Server Best Security Practices - good article
Viewed 11545 times since Mon, Oct 1, 2018
SPRAWDZONA KONFIGURACJA RSYSLOG I LOGROTATE, JAKO ZEWNĘTRZNEGO SERWERA SYSLOG
Viewed 4471 times since Fri, Nov 30, 2018
How to configure an SSH proxy server with Squid
Viewed 3893 times since Sun, Dec 6, 2020
How to use yum command on CentOS/RHEL
Viewed 11736 times since Wed, Oct 17, 2018
Automatic YUM Updates with Yum-cron
Viewed 11126 times since Fri, Oct 26, 2018
SYS: Configure a local repository. local repo
Viewed 11665 times since Mon, Oct 29, 2018
Using stunnel to Encrypt Database Connections
Viewed 4889 times since Fri, Sep 28, 2018
Linux – delete the LUN and remove traces from OS
Viewed 4444 times since Tue, May 22, 2018