Which variable defines the directories in which a Bash shell searches for executable commands?

Which variable defines the directories in which a Bash shell searches for executable commands?A . BASHEXECB . BASHRCC . PATHD . EXECPATHE . PATHRCView AnswerAnswer: C

July 15, 2019 No Comments READ MORE +

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?A . file /tmp/myfile.txtB . echo "Hello" >/tmp/myfile.txtC . sed -ie "s/1/2/" /tmp/myfile.txtD . echo -n "Hello" >>/tmp/myfile.txtE . touch /tmp/myfile.txtView AnswerAnswer: A

July 14, 2019 No Comments READ MORE +

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?A . /lib/init.soB . /sbin/initC . /etc/rc.d/rcinitD . /proc/sys/kernel/initE . /boot/initView AnswerAnswer: B

July 14, 2019 No Comments READ MORE +

Which of the following commands lists the dependencies of a given dpkg package?

Which of the following commands lists the dependencies of a given dpkg package?A . apt-cache depends-on packageB . apt-cache dependencies packageC . apt-cache depends packageD . apt-cache requires packageView AnswerAnswer: C

July 11, 2019 No Comments READ MORE +

Which of the following commands can be used to create a USB storage media from a disk image?

Topic 3, GNU and Unix Commands Which of the following commands can be used to create a USB storage media from a disk image?A . gdiskB . ddC . ccD . fdiskE . mountView AnswerAnswer: B

July 11, 2019 No Comments READ MORE +

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)A . source /usr/local/bin/runme.shB . ./usr/local/bin/runme.shC . /bin/bash /usr/local/bin/runme.shD . /usr/local/bin/runme.shE . run /usr/local/bin/runme.shView AnswerAnswer: A,B

July 9, 2019 1 Comment READ MORE +

What is the default action of the split command on an input file?

What is the default action of the split command on an input file?A . It will break the file into new files of 1,024 byte pieces each.B . It will break the file into new files of 1,000 line pieces each.C . It will break the file into new files...

July 9, 2019 No Comments READ MORE +

What does the command mount -a do?

What does the command mount -a do?A . It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.B . It shows all mounted file systems that have been automatically mounted.C . It opens an editor with root privileges and loads /etc/fstab for editing.D . It...

July 9, 2019 No Comments READ MORE +

After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

Topic 2, Linux Installation and Package Management After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?A . kill -HUP $(pidof grub)B . grub-installC . grubD . No action is requiredView AnswerAnswer: D

July 8, 2019 No Comments READ MORE +

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)A . find /tmp -uid root -printB . find -path /tmp -uid rootC . find /tmp -user root -printD . find /tmp...

July 6, 2019 No Comments READ MORE +