CompTIA
LX0-104 · Question #118
LX0-104 Question #118: Real Exam Question with Answer & Explanation
Sign in or unlock LX0-104 to reveal the answer and full explanation for question #118. The question stem and answer options stay visible for context.
Question
What is the difference between the commands test -e path and test -f path?
Options
- AThey are equivalent options with the same behaviour.
- BThe -f option tests for a regular file. The -e option tests for an empty file.
- CBoth options check the existence of the path. The -f option also confirms that it is a regular file.
- DThe -f option tests for a regular file. The -e option tests for an executable file.
Unlock LX0-104 to see the answer
You've previewed enough free LX0-104 questions. Unlock LX0-104 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.