Changing the Run levels



/sbin/telinit N
or

/sbin/init N
where N is a new run level.


/sbin/init 0
is the same as

shutdown -h now 


/sbin/init 6
is the same as

shutdown -r now

To figure out in what Run Level you are, run

who -r
or

/sbin/runlevel 
It shows the previous and the current Run Levels.
Previous Pageprevious First Pagetop Next Pagenext