BlackFriday 2024! 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
2 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
2 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
1 months ago
Yeah, I agree. The others don't really make sense in that context.
upvoted 0 times
...
Vicky
1 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
2 months ago
I'm not sure about C) --d, does that also work on file system elements?
upvoted 0 times
...
Gilma
2 months ago
I agree with Erick, those two options make sense for file system comparisons.
upvoted 0 times
...
Erick
3 months ago
I think A) --z and D) --f work on elements in the file system.
upvoted 0 times
...
Bobbie
3 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
3 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
3 months ago
Definitely --d and --f. The others seem to be for some other purpose, like comparing numbers or strings.
upvoted 0 times
Laticia
1 months ago
--lt is for comparing numbers to see if one is less than the other.
upvoted 0 times
...
Ronny
1 months ago
I think --eq is for comparing strings for equality.
upvoted 0 times
...
Ashlyn
1 months ago
Yes, --z is for checking if a string is null or empty.
upvoted 0 times
...
Antonio
2 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
3 months ago
I'm not sure about C) --d, but I know E) --lt is not for file system elements.
upvoted 0 times
...
Lashawn
3 months ago
I think --d and --f are the right options. They check if a file or directory exists, respectively.
upvoted 0 times
Florinda
2 months ago
Yes, --d checks for a directory and --f checks for a file in the file system.
upvoted 0 times
...
Florinda
2 months ago
I agree, --d checks for a directory and --f checks for a file.
upvoted 0 times
...
...
Muriel
3 months ago
I agree with Georgeanna, A) --z and D) --f are the correct comparison operators for file system elements.
upvoted 0 times
...
Georgeanna
3 months ago
I think A) --z and D) --f work on elements in the file system.
upvoted 0 times
...

Save Cancel