Change runlevels and Shutdown Flashcards
What run level is single user mode?
1
What run level is used to shut down a computer?
0
Which distro uses run level 2?
Debian
Which distro uses run level 3?
Fedora, Mandriva, Red Hat (non graphical login)
Which distro uses run level 4?
Custom and not defined
Which distro uses run level 5?
Fedora, Mandriva, Red Hat (graphical login)
What uses run level 6?
Reboot computer
Which file hold the programs run at various run levels?
/etc/inittab
What two commands display the runlevel?
runlevel and who -r
What letter is the first letter in the filename to stop a script at runlevel?
K
What letter is the first letter in the filename to start a script at runlevel?
S
How are the script run in the correct order for runlevel?
They are numbered
What are the SysV folders?
/etc/rc0.d
What command will check list services and their applicable runlevels?
chkconfig
What command will start a service at a particular runlevel?
chkconfig –level xxx service on