Linux Foundation LFCS Exam - Topic 7 Question 52 Discussion
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.
Angella
7 months agoNatalie
8 months agoShaquana
8 months agoWendell
8 months agoZack
8 months agoCorrie
8 months agoSarah
8 months agoPrecious
8 months agoRobt
8 months agoGilma
9 months agoLashandra
9 months agoLacresha
9 months agoMargret
1 year agoLaticia
1 year agoChrista
1 year agoBlair
1 year agoHermila
1 year agoRikki
1 year agoDenny
1 year agoLeota
1 year agoLavina
1 year agoBernardo
1 year agoLawrence
1 year agoMona
1 year agoDanilo
1 year agoLezlie
1 year agoMona
1 year ago