1

How can I reboot the RHEL from CLI using the systemctl method?

  • does systemctl reboot work? – eyoung100 Oct 8 '14 at 18:37
5

As root, say

# systemctl --reboot

Or, simply:

# reboot

On systems where systemctl can reboot the system, reboot is usually symlinked to it, so that systemctl detects the action to perform by the name it was called by.

If you're on RHEL 7 or newer or you have manually configured sudo on RHEL 6 or older, you may not have to log in as root or su up to root first:

$ sudo systemctl --reboot

Or:

$ sudo reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.