問題1
Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?
Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?
正確答案: C
問題2
A directory contains the following files:

What would be the output of the following shell script?
for file in *.txt

A directory contains the following files:

What would be the output of the following shell script?
for file in *.txt

正確答案: D
問題3
Which of the following commands output the content of the file Texts 2.txt? (Choose two.)
Which of the following commands output the content of the file Texts 2.txt? (Choose two.)
正確答案: A,B
問題4
The output of the program date should be saved in the variable actdat. What is the correct statement?
The output of the program date should be saved in the variable actdat. What is the correct statement?
正確答案: A
問題5
Which directory in the Filesystem Hierarchy Standard (FHS) holds variable data like logs?
Which directory in the Filesystem Hierarchy Standard (FHS) holds variable data like logs?
正確答案: B
問題6
What keyword is missing from the following segment of the shell script?
for i in *; _____
cat $i
done
What keyword is missing from the following segment of the shell script?
for i in *; _____
cat $i
done
正確答案: D
問題7
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?
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?
正確答案: C