Q61. - (Topic 3)
Which of the following commands displays the contents of a gzip compressed tar archive?
A. gzip archive.tgz | tar xvf -
B. tar ztf archive.tgz
C. gzip -d archive.tgz | tar tvf -
D. tar cf archive.tgz
Answer: B
Q62. - (Topic 4)
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
A. ext2
B. ext3
C. ext4
D. XFS
E. VFAT
Answer: A
Q63. - (Topic 3)
What is the difference between the i and a commands of the vi editor?
A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.
B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
Answer: B
Q64. - (Topic 4)
Which of the following file permissions belong to a symbolic link?
A. -rwxrwxrwx
B. +rwxrwxrwx
C. lrwxrwxrwx
D. srwxrwxrwx
Answer: C
Q65. - (Topic 3)
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"
Answer: D
75. - (Topic 3)
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
A. esc ZZ
B. ctrl :w!
C. esc zz
D. esc :wq!
E. ctrl XX
Answer: A,D
Q66. 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.)
Answer: jobs
Q67. - (Topic 3)
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
A. <<
B. <|
C. !<
D. &<
Answer: A
Q68. - (Topic 3)
What is the purpose of the Bash built-in export command?
A. It allows disks to be mounted remotely.
B. It runs a command as a process in a subshell.
C. It makes the command history available to subshells.
D. It sets up environment variables for applications.
E. It shares NFS partitions for use by other systems on the network.
Answer: D
Q69. - (Topic 3)
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 -print
B. find -path /tmp -uid root
C. find /tmp -user root -print
D. find /tmp -user root
E. find -path /tmp -user root–print
Answer: C,D
Q70. - (Topic 2)
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
A. hidemenu
B. splash
C. timeout
D. showmenu
Answer: C