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
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
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
What is a Linux distribution?
Correct Answer:B
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
What is the purpose of the PATH environment variable?
Correct Answer:A