New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 102-500 Topic 2 Question 87 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 87
Topic #: 2
[All 102-500 Questions]

Which of the following comparison operators for test work on elements in the file system? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Contribute your Thoughts:

Cristy
3 months ago
I believe C) --d checks for directories in the file system, so it could be a valid comparison operator.
upvoted 0 times
...
Jeanice
3 months ago
I'm pretty sure --d and --f are the correct answers. The others seem a bit too abstract for a file system test.
upvoted 0 times
Brice
2 months ago
Yeah, I agree. The others don't really make sense in that context.
upvoted 0 times
...
Vicky
3 months ago
I think you're right, --d and --f are the ones that work on elements in the file system.
upvoted 0 times
...
...
Viva
3 months ago
I'm not sure about C) --d, does that also work on file system elements?
upvoted 0 times
...
Gilma
4 months ago
I agree with Erick, those two options make sense for file system comparisons.
upvoted 0 times
...
Erick
4 months ago
I think A) --z and D) --f work on elements in the file system.
upvoted 0 times
...
Bobbie
4 months ago
Haha, I bet --z is for testing if the file is a zebra. You know, because it's a file system, and zebras are part of the file system, right?
upvoted 0 times
...
Anabel
4 months ago
Hmm, I'm not sure about --z. It sounds like something from the Wizard of Oz. Maybe it checks if the file is a tornado or something?
upvoted 0 times
...
Vannessa
4 months ago
Definitely --d and --f. The others seem to be for some other purpose, like comparing numbers or strings.
upvoted 0 times
Laticia
2 months ago
--lt is for comparing numbers to see if one is less than the other.
upvoted 0 times
...
Ronny
3 months ago
I think --eq is for comparing strings for equality.
upvoted 0 times
...
Ashlyn
3 months ago
Yes, --z is for checking if a string is null or empty.
upvoted 0 times
...
Antonio
3 months ago
I agree, --d and --f are used for checking if a file is a directory or a regular file.
upvoted 0 times
...
...
Cathrine
4 months ago
I'm not sure about C) --d, but I know E) --lt is not for file system elements.
upvoted 0 times
...
Lashawn
4 months ago
I think --d and --f are the right options. They check if a file or directory exists, respectively.
upvoted 0 times
Florinda
3 months ago
Yes, --d checks for a directory and --f checks for a file in the file system.
upvoted 0 times
...
Florinda
3 months ago
I agree, --d checks for a directory and --f checks for a file.
upvoted 0 times
...
...
Muriel
4 months ago
I agree with Georgeanna, A) --z and D) --f are the correct comparison operators for file system elements.
upvoted 0 times
...
Georgeanna
4 months ago
I think A) --z and D) --f work on elements in the file system.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77