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 - How to perform I/O performance test with dd command
Viewed 7110 times since Fri, Jun 8, 2018
LVM: Recovering Physical Volume Metadata
Viewed 14290 times since Sat, Jun 2, 2018
Need to set up yum repository for locally-mounted DVD on Red Hat Enterprise Linux 7
Viewed 4338 times since Mon, Oct 29, 2018
How To: Create Self-Signed Certificate – OpenSSL
Viewed 3959 times since Mon, Feb 18, 2019
How To: Linux Hard Disk Encryption With LUKS [ cryptsetup Command ]
Viewed 8644 times since Fri, Jul 13, 2018
INSTALACJA MIB SNMP W SYSTEMIE CENTOS/RHEL 6
Viewed 13818 times since Fri, Nov 30, 2018
How To Run Multiple SSH Command On Remote Machine And Exit Safely
Viewed 5827 times since Tue, Aug 6, 2019
Automatic YUM Updates with Yum-cron
Viewed 11644 times since Fri, Oct 26, 2018
SSL HowTo: Decode CSR
Viewed 6089 times since Mon, Feb 18, 2019
Df command in Linux not updating actual diskspace, wrong data
Viewed 3813 times since Wed, May 30, 2018