how to change run level in linux

how to change run level in linux

Question : how to change default run level in linux ?

Question : change run level  in centos ?


Step 1 -

Go to terminal and open " inittab " file

# vi /etc/inittab

file






















run level

0 = halt
1 = single user mode
2 = multiuser without NFS
3 = Multiuser mode
5 = X11 / GUI 
6 = Reboot


here default run level = 5 ( GUI )

we will change 5 to 3 ( TUI )

save file and exit file

Step 2 

Reboot/Restart  
#  init 6



Previous
Next Post »