An interviewer asked me this Question. Pleases any one can tell me the answer.
An interviewer asked me this Question. Pleases any one can tell me the answer.
Linux has 7 different run levels (or operating modes): rc0.d - system halted rc1.d - single user mode rc2.d - single user mode with networking rc3.d - multi-user mode - boot up in text mode rc4.d - not yet defined rc5.d - multi-user mode - boot up in x windows rc6.d - shutdown & reboot
there are 6 runlevel in linux.
you can check current runlevel and previous runlevel by 'runlevel' command.
and change run level by init <runlevel>.
Run Modes are TWO (2)
Run Levels are Seven (7)