How to Reboot a Linux Server?


We can reboot a Linux Operating System Server with the help of reboot command.

$ sudo reboot

Note: If you are not an root user then may have to use sudo.

Though reboot command is a simpler way to initiate a system reboot, and is widely supported by various Linux distributions. However, if your Linux distribution uses systemd, you can also use systemctl to achieve the same result.

$ sudo systemctl reboot

If you are having problems reboot, then you can try a force reboot by add a --force flag to the above command (not recommended unless the only way out).

How to Reboot Linux Server Command

This is not an AI-generated article but is demonstrated by a human on an Linux Operating System.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap