reboot command in Linux with Examples

reboot command means Restart your machine gently. How do I reboot my Linux based system or remote Linux Server?

Syntax

reboot [OPTION]…

In man page the describe it

  • reboot – reboot or stop the system.
  • man reboot – More details information about reboot command.

reboot command in Linux with Examples

$ sudo reboot

reboot command within the last six minutes of TIME

$ sudo shutdown -r +6

How to identify the location reboot command in Linux.

[vagrant@localhost ~]$ which reboot
/usr/sbin/reboot

I will reboot remote Linux Server with following command as below

$ ssh root@remote[IP]-server /usr/sbin/reboot 

Conclusion

reboot command is the simple the command in Linux. It is the most popular in use terminal Linux reboot or stop the system.

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.