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
Moving SSL Certificate from IIS to Apache
Viewed 2711 times since Mon, Feb 18, 2019
Create a Linux Swap File
Viewed 3759 times since Fri, Jun 8, 2018
RHEL7: Create and configure LUKS-encrypted partitions and logical volumes to prompt for password and mount a decrypted file system at boot.
Viewed 14453 times since Mon, Aug 6, 2018
Learn how to align an SSD on Linux
Viewed 14167 times since Fri, May 15, 2020
Terminal based "The Matrix" like implementation
Viewed 4171 times since Thu, Apr 18, 2019
Linux get the list of FC HBA’s and WWPN
Viewed 4532 times since Tue, May 22, 2018
RHEL: Services basic management - systemd
Viewed 19999 times since Sat, Jun 2, 2018
Fałszujemy rozpoznania skanerów #2
Viewed 3654 times since Mon, May 21, 2018
How to encrypt a partition using LUKS?
Viewed 2617 times since Fri, Jul 13, 2018
LOGROTATE – ARCHIWIAZACJA LOGÓW
Viewed 2817 times since Fri, Nov 30, 2018