Which of the following commands is used as a traditional replacement for the init process?

20516433. Instead of using traditional runlevels, Systemd uses:1/6

TargetsVariablesStatesFunctions4. Which of the following commands will allow you to change the system runlevel,on a system with traditional init? (choose two)telinitsystemctlinitchginit5. Which of the following commands will allow you to change the system toanother runlevel, on a system with Systemd? (choose two)telinitsystemctlchginitinit6. Which of the following commands can be used to reboot the system? (choosetwo)shutdown -rshutdownhaltreboot7. Which of the following commands can be used to halt the system? (choose two)shutdownreboothaltpoweroff8. Which runlevel number is defined as “user-definable”?36025149. Which runlevel number defines rebooting the system?2/6

123640510. Which runlevel number defines multi-user with networking services and noGUI?436210511. Which runlevel number defines multi-user with GUI?164023512. Which runlevel number defines halting the system?032645113. Which command will display both the current runlevel and the previousrunlevel?runlevelrlrunlevel3/6

14. On a Ubuntu system, what variable defines the default runlevel in the/etc/init/rc-sysinit.conf file?RUNLEVELDEFAULTDEFAULT_RUNLEVELRUN15. For traditional init, the _____ file is where the initial default runlevel is defined./etc/initdefault/etc/init/etc/inittab/etc/sysinit16. What option to thewhocommand will display the current runlevel?-t-r-a-s17. Where are the scripts used to manage theinitprocess located?/etc/rc.init/rc.d/init.d/etc/rc.d/init.d/etc/init/rc.d18. Which of the following can be used to restart the HTTP service? (choose two)/etc/init.d/httpd restartservice httpd restartservice httpd re startservice https restart19. The same set of services are started or stopped at different runlevels.True or False?TrueFalse20. Which directories exist in the /etc/rc.d directory?d. rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d and rc6.dc. rc0d, rc1d, rc2d, rc3d, rc4d and rc5drc0.d, rc2.d, rc4.d, and rc6.db. rc0, rc1, rc2, rc3, rc4, rc5 and rc64/6

21. Which of the following commands will have thehttpdservice start at runlevel5?ln -s /etc/init.d/httpd /etc/rc.d/rc5.d/S85httdcp /etc/init.d/httpd /etc/init.d/rc5.dln -s /etc/init.d/httpd /etc/rc.d/rc5.d/K85httpdcp /etc/init.d/httpd /etc/rc.d22. Which command is used to view the services that are set to start or stopautomatically?lsconfigchkconfiginitconfigconfig23. Which of the following is used to turn off theatdservice at runlevels 2 and 4?chkconfig –off 24 atdchkconfig –level 24 atd disablechkconfig –level 24 atd offchkconfig –level 24 atd auto off24. Which is the default runlevel for Debian based Linux systems?354225. Which of the following is used to define the start of the Apache web server forrunlevels 2-4 in the /etc/init.d/apache2.conf file?

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 301 pages?

Upload your study docs or become a

Course Hero member to access this document

Tags

Coordinated Universal Time, Time zone, Cron

Is the replacement for the init process?

runit is a legitimate replacement for OS-level /sbin/init processes like sysvinit, upstart or systemd –and it's an overkill for containers.

How do I change the init level in Linux?

Type init X and press Enter, where X is replaced by the run level you want to change to. Note: If this command does not work, refer to the manual for your distribution of Linux. Caution: This command exits all running applications. Save all work before entering this command.

Which command will display both the current run level and the previous run level?

Use the runlevel command /sbin/runlevel to find the current and previous runlevel of an operating system. Runlevels zero through six are generally delegated to single-user mode, multi-user mode with and without network services started, system shutdown and system reboot.

How does the Acpid command determine what action to take?

acpid comes with a number of predefined actions for triggered events, such as what should happen when you press the Power button on your machine. By default, these actions are defined in /etc/acpi/handler.sh , which is executed after any ACPI events are detected (as determined by /etc/acpi/events/anything ).