Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)A . shutdown -r nowB . shutdown -r "rebooting"C . telinit 6D . telinit 0E . shutdown -k now "rebooting"View AnswerAnswer: A,C

July 18, 2022 No Comments READ MORE +

Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?A . kill -PIPE 123B . kill -KILL 123C . kill -STOP 123D . kill -TERM 123View AnswerAnswer: D

July 18, 2022 No Comments READ MORE +

Which command will disable swapping on a device?

CORRECT TEXT Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: swapoff, /sbin/swapoff

July 18, 2022 No Comments READ MORE +

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)A . startdB . systemdC . UpstartD . SysInitE . SysV initView AnswerAnswer: B,C,E

July 18, 2022 No Comments READ MORE +

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

When removing a package, which of the following dpkg options will completely remove the files including configuration files?A . --cleanB . --deleteC . --purgeD . CremoveView AnswerAnswer: C

July 18, 2022 No Comments READ MORE +

Which of the following command sets the Bash variable named TEST with the content FOO?

Which of the following command sets the Bash variable named TEST with the content FOO?A . set TEST="FOO"B . TEST = "FOO"C . var TEST="FOO"D . TEST="FOO"View AnswerAnswer: D

July 18, 2022 No Comments READ MORE +

Which of the following commands will print the last 10 lines of a text file to the standard output?

Which of the following commands will print the last 10 lines of a text file to the standard output?A . cat -n 10 filenameB . dump -n 10 filenameC . head -n 10 filenameD . tail -n 10 filenameView AnswerAnswer: D

July 18, 2022 No Comments READ MORE +

In which directory will new configuration files be found?

CORRECT TEXT An administrator has issued the following command: grub-install --root-directory=/custom-grub /dev/sda In which directory will new configuration files be found? (Provide the full directory path only without the filename)View AnswerAnswer: /custom-grub/boot/grub/, /custom-grub/boot/grub

July 17, 2022 No Comments READ MORE +

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?

CORRECT TEXT Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)View AnswerAnswer: cmdline, /proc/cmdline

July 17, 2022 No Comments READ MORE +

Which of the following is correct when talking about mount points?

Which of the following is correct when talking about mount points?A . Every existing directory can be used as a mount point.B . Only empty directories can be used as a mount point.C . Directories need to have the SetUID flag set to be used as a mount point.D ....

July 17, 2022 No Comments READ MORE +