runlevel: Check your current runlevel. Then change it

1 · Benjamin Cane · Aug. 10, 2011, 8:30 p.m.
Today's commands are how you can check what runlevel your system is in and then change it. Check the current runlevel: [root@bcane tmp]# runlevel N 5 Change the current runlevel: [root@bcane tmp]# init <new_level> The run levels in Unix/Linux are used to define what state init (the parent of all processes) is in. Each distribution of Unix/Linux has different definitions of what run levels starts what processes. Usually you can find the different definitions in /etc/inittab below is the one fro...