Q1. - (Topic 3) 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.sh B. . /usr/local/bin/runme.sh C. /bin/bash /usr/local/bin/runme.sh D. /usr/local/bin/runme.sh E. run /usr/local/bin/runme.sh View AnswerAnswer: A,B Q2. - (Topic 4) How many fields are in a syntactically correct line of /etc/fstab? A. 3 B. 4 C. 5 D. 6 E. 7 View AnswerAnswer: D Q3. -…
Q1. - (Topic 3) What is the default nice level when a process is started using the nice command? A. -10 B. 10 C. 20 D. 0 Answer: B Topic 4, Devices, Linux Filesystems, Filesystem Hierachy Standard View AnswerAnswer: Q2. - (Topic 3) Which of the following commands will print the last 10 lines of a text file to the standard output? A. cat -n 10 filename B. dump -n…
Q1. CORRECT TEXT - (Topic 2) Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.) View AnswerAnswer: dpkg-reconfigure Q2. - (Topic 3) When given the following command line. echo "foo bar" | tee bar | cat Which of the…
Q1. - (Topic 3) Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard? A. SIGTERM B. SIGINT C. SIGSTOP D. SIGKILL View AnswerAnswer: B Q2. - (Topic 2) When removing a package, which of the following dpkg options will completely remove the files including configuration files? A. --clean B. --delete C. --purge D. –remove View AnswerAnswer: C Q3. - (Topic 4) What do the…
Q1. - (Topic 1) During a system boot cycle, what program is executed after the BIOS completes its tasks? A. The bootloader B. The inetd program C. The init program D. The kernel View AnswerAnswer: A Q2. - (Topic 1) Which of the following information is stored within the BIOS? (Choose TWO correct answers.) A. Boot device order B. Linux kernel version C. Timezone D. Hardware configuration E. The system's hostname View AnswerAnswer: A,D Q3.…
Q1. - (Topic 4) After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation? A. foo and bar would both be removed. B. foo would be removed while bar would remain accessible. C. foo would be removed. bar would still exist but would be unusable. D. Both foo…
Q1. - (Topic 1) Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.) A. 0 B. 1 C. 3 D. 5 E. 6 View AnswerAnswer: A,E Topic 2, Linux Installation and Package Management Q2. - (Topic 3) In compliance with the FHS, in which of the directories are man pages found? A. /usr/share/man B. /opt/man C. /usr/doc/ D. /var/pkg/man E. /var/man View AnswerAnswer: A Q3. CORRECT…
Q1. - (Topic 3) Which of the following shell redirections will write standard output and standard error output to a file named filename? A. 2>&1 >filename B. >filename 2>&1 C. 1>&2>filename D. >>filename E. 1&2>filename View AnswerAnswer: B Q2. CORRECT TEXT - (Topic 3) Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.) View AnswerAnswer: jobs Q3.…
Q1. - (Topic 4) Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.) A. /sbin/mke2fs -j /dev/sdb1 B. /sbin/mkfs -t ext3 /dev/sdb1 C. /sbin/mkfs -c ext3 /dev/sdb1 D. /sbin/mke3fs -j /dev/sdb1 View AnswerAnswer: A,B Q2. - (Topic 4) Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed?…
Q1. - (Topic 4) How many fields are in a syntactically correct line of /etc/fstab? A. 3 B. 4 C. 5 D. 6 E. 7 View AnswerAnswer: D Q2. - (Topic 1) Which of the following are init systems used within Linux systems? (Choose THREE correct answers.) A. startd B. systemd C. Upstart D. SysInit E. SysV init View AnswerAnswer: B,C,E Q3. - (Topic 4) What does the command mount -a do? A. It mounts all available filesystems…