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
10 months agoNatalie
11 months agoShaquana
11 months agoWendell
11 months agoZack
11 months agoCorrie
11 months agoSarah
11 months agoPrecious
11 months agoRobt
11 months agoGilma
12 months agoLashandra
12 months agoLacresha
12 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