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
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 18118 times since Thu, Jun 21, 2018
LUKS dm-crypt/Device encryption GUIDE
Viewed 1862 times since Fri, Jul 13, 2018
12 Linux Rsync Options in Linux Explained
Viewed 11458 times since Wed, Oct 31, 2018
HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples
Viewed 4250 times since Fri, Nov 30, 2018
RHCS6: Basic operations on clustered services
Viewed 2302 times since Sun, Jun 3, 2018
VMWare tools free
Viewed 8037 times since Mon, Jul 16, 2018
Secure NTP with NTS
Viewed 7740 times since Sun, Dec 6, 2020
Jak znaleźć najszybszy publiczny serwer DNS w Polsce?
Viewed 2114 times since Mon, May 21, 2018
How to accurately determine when the system was booted
Viewed 1956 times since Wed, Oct 3, 2018
ZPOOL: Create a new zpool for zfs filesystems
Viewed 1716 times since Sun, Jun 3, 2018