Solved

What Is the Difference Between the Commands Test -E Path

Question 11

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents