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
RHEL: Extending a multipath LUN
Viewed 4397 times since Sun, May 27, 2018
How to use yum-cron to automatically update RHEL/CentOS Linux
Viewed 2440 times since Wed, Oct 17, 2018
stunnel basics and pki standards
Viewed 9225 times since Fri, Sep 28, 2018
zabbix linux How to solve apache error No space left on device: Cannot create SSLMutex
Viewed 2045 times since Wed, Nov 11, 2020
How to configure an SSH proxy server with Squid
Viewed 2650 times since Sun, Dec 6, 2020
Linux Proxy Server Settings – Set Proxy For Command Line
Viewed 2751 times since Mon, Feb 18, 2019
What is yum-cron ?
Viewed 2442 times since Fri, Oct 26, 2018
RHEL: Scan and configure new SAN (fibre channel) LUNs
Viewed 7546 times since Sun, May 27, 2018
6 rsync Examples to Exclude Multiple Files and Directories using exclude-from
Viewed 4470 times since Wed, Oct 31, 2018
Migrate a Linux System from Red Hat Enterprise to CentOS
Viewed 9931 times since Fri, May 15, 2020