
systemctl 메소드를 사용하여 CLI에서 RHEL을 재부팅하려면 어떻게 해야 합니까?
답변1
루트로서 다음과 같이 말하십시오.
# systemctl --reboot
또는 간단하게:
# reboot
systemctl
시스템을 재부팅할 수 reboot
있는 시스템에서는일반적으로 심볼릭 링크되어 있습니다., systemctl
호출된 이름으로 수행할 작업을 감지합니다.
RHEL 7 이상을 사용 중이거나 RHEL 6 이하에서 수동으로 구성한 경우 먼저 로그인 할 sudo
필요가 없습니다 .root
su
root
$ sudo systemctl --reboot
또는:
$ sudo reboot