Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?

Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?A . foo | less /tmp/foodataB . foo | cp /tmp/foodataC . foo > /tmp/foodataD . foo | tee /tmp/foodataE . foo > stdout >> /tmp/foodataView AnswerAnswer:...

March 20, 2020 No Comments READ MORE +

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?A . 9B . 15C . 19D . 49E . 99View AnswerAnswer: C

March 20, 2020 No Comments READ MORE +

Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)

Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)A . Some parts of the boot process can be configured from the BIOSB . Linux does not require the assistance of the BIOS to boot a computerC . The BIOS boot...

March 19, 2020 No Comments READ MORE +

Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?

Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?A . SIGTERMB . SIGCONTC . SIGSTOPD . SIGKILLE . SIGINTView AnswerAnswer: E

March 18, 2020 No Comments READ MORE +

Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)

Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)A . The partitioning schemeB . The file systemC . The D-Bus Machine IDD . The permissions of /root/E . The SSH host keysView AnswerAnswer: CE

March 18, 2020 No Comments READ MORE +

Which command uninstalls a package but keeps its configuration files in case the package is re-installed?

Which command uninstalls a package but keeps its configuration files in case the package is re-installed?A . dpkg Cs pkgnameB . dpkg CL pkgnameC . dpkg CP pkgnameD . dpkg Cv pkgnameE . dpkg Cr pkgnameView AnswerAnswer: E

March 18, 2020 1 Comment READ MORE +

Which of the following commands changes all CR-LFline breaks in the text file userlist.txtto Linux standard LF line breaks and stores the result in newlist.txt?

Which of the following commands changes all CR-LFline breaks in the text file userlist.txtto Linux standard LF line breaks and stores the result in newlist.txt?A . tr Cd ‘r’ < userlist.txt > newlist.txtB . tr Cc ‘r’ ‘’ <newlist.txt> userlist.txtC . tr ‘r’ ‘’ <userlist.txt> newlist.txtD . tr ‘r’ ‘’...

March 17, 2020 No Comments READ MORE +

Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?

Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?A . XFSB . VFATC . ext2D . ext3E . ext4View AnswerAnswer: C

March 16, 2020 No Comments READ MORE +

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?A . grub2 install /dev/sdcB . grub-mkrescue /dev/sdcC . grub-mbrinstall /dev/sdcD . grub-setup /dev/sdcE . grub-install /dev/sdcView AnswerAnswer: E

March 16, 2020 No Comments READ MORE +

Which of the following commands installs all packages with a name ending with the string foo?

Which of the following commands installs all packages with a name ending with the string foo?A . zypper get “*foo”B . zypper update “foo?”C . zypper force “foo*”D . zypper install “*foo”E . zypper add “.*foo”View AnswerAnswer: D

March 16, 2020 No Comments READ MORE +