Lesson 4

Date: 2/12/2009
Start-up and Run Levels. Scheduled jobs (at, cron)
Linux for Engineering and IT Applications


Changing the Run levels


Command telinit triggers the Upstart, which executes /etc/init.d/rc for the new runlevel N.

/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.


Take me to the Course Website