How do I check my runlevel in RHEL 6?

How do I check my runlevel in RHEL 6?
Answer
Changing the runlevel is different now.
  1. To check the current runlevel in RHEL 6.X: # runlevel.
  2. To disable the GUI at boot-up in RHEL 6.x: # vi /etc/inittab. …
  3. To check the current runlevel in RHEL 7.X: # systemctl get-default.
  4. To disable the GUI at boot-up in RHEL 7.x: # systemctl set-default multi-user.target.
3 янв. 2018 г.
 

Tìm kiếm

Back
Top