Topic 8

Dates: 3/8/2017
Start-up and Run Levels. Scheduled jobs (at, cron)
Linux System Administration

Changing the Run levels on SysV

Command telinit triggers the Upstart, which generates the runlevel change event, executes scripts in /etc/init and /etc/init.d/rc for the new runlevel N.

/sbin/telinit N

/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

It shows the previous and the current Run Levels.

Take me to the Course Website