Question 7

Running the command rm Downloads leads to the following error: rm: cannot remove ‘Downloads/’: Is a directory
Which of the following commands can be used instead to remove Downloads, assuming Downloads is empty? (Choose two correct answers.)

Correct Answer:BE

Question 8

A user is currently in the directory /home/user/Downloads/ and runs the command ls ../Documents/
Assuming it exists, which directory’s content is displayed?

Correct Answer:D

Question 9

Which of the following commands finds all lines in the file operating-systems.txt which contain the term linux, regardless of the case?

Correct Answer:C

Question 10

What is a Linux distribution?

Correct Answer:B

Question 11

The current directory contains the following file:
-rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh
Given that the file is a valid shell script, how can this script be executed? (Choose two correct answers.)

Correct Answer:DE

Question 12

What is the purpose of the PATH environment variable?

Correct Answer:A

START 010-160 EXAM