1

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

1
  • does systemctl reboot work?
    – eyoung100
    Oct 8, 2014 at 18:37

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .