Q61. - (Topic 3) 

Which shell command is used to continue background execution of a suspended command? 

A. & 

B. bg 

C. cont 

D. exec 

E. :& 

Answer:


Q62. - (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 


Q63. - (Topic 3) 

What command will generate a list of user names from /etc/passwd along with their login shell? 

A. column -s : 1,7 /etc/passwd 

B. chop -c 1,7 /etc/passwd 

C. colrm 1,7 /etc/passwd 

D. cut -d: -f1,7 /etc/passwd 

Answer:


Q64. - (Topic 3) 

Which of the following commands will reduce all consecutive spaces down to a single space? 

A. tr '\s' ' ' < a.txt > b.txt 

B. tr -c ' ' < a.txt > b.txt 

C. tr -d ' ' < a.txt > b.txt 

D. tr -r ' ' '\n' < a.txt > b.txt 

E. tr -s ' ' < a.txt > b.txt 

Answer:


Q65. - (Topic 3) 

Which character, added to the end of a command, runs that command in the background 

as a child process of the current shell? 

A. ! 

B. + 

C. & 

D. % 

E. # 

Answer:


Q66. - (Topic 3) 

Which of the following commands moves and resumes in the background the last stopped shell job? 

A. run 

B. bg 

C. fg 

D. back 

Answer:


Q67. - (Topic 3) 

What is the output of the following command? 

echo "Hello World" | tr -d aieou 

A. Hello World 

B. eoo 

C. Hll Wrld 

D. eoo Hll Wrld 

Answer:


Q68. - (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 

Answer:


Q69. - (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 

Answer:


Q70. - (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: