there are 6 runlevel in linux.
you can check current runlevel and previous runlevel by 'runlevel' command.
and change run level by init <runlevel>.