What is the difference between the commands test -e path and test -f path?
A) They are equivalent options with the same behaviour.
B) The -f option tests for a regular file. The -e option tests for an empty file.
C) Both options check the existence of the path. The -f option also confirms that it is a regular file.
D) The -f option tests for a regular file. The -e option tests for an executable file.
Correct Answer:
Verified
Q7: After issuing: function myfunction { echo $1
Q13: Which of the following steps prevents a
Q78: Which of the following commands puts the
Q82: What is the purpose of the iconv
Q89: How is a display manager started?
A) It
Q97: Which character in the password field of
Q98: Which of the following commands shows the
Q99: What is the purpose of a screen
Q170: What is the purpose of the file
Q179: Which command makes the shell variable named
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents