Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 102-500 Exam - Topic 7 Question 78 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 78
Topic #: 7
[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:

0/2000 characters
Lavera
4 months ago
Yup, --d checks directories, --f checks files. Simple!
upvoted 0 times
...
India
5 months ago
--z is for strings, not files!
upvoted 0 times
...
Telma
5 months ago
Wait, are you sure about --f? I thought it was for files only.
upvoted 0 times
...
Rory
5 months ago
Totally agree, those are the correct ones!
upvoted 0 times
...
Jessenia
5 months ago
--d and --f are the ones for file system checks.
upvoted 0 times
...
Kristine
6 months ago
I feel like --eq and --lt are more about numerical comparisons, so they probably don't apply here.
upvoted 0 times
...
Terrilyn
6 months ago
I practiced a similar question last week, and I think --d is definitely for directories, but I can't recall if --f is the other one.
upvoted 0 times
...
Kattie
6 months ago
I'm not entirely sure about --z, but I remember it being related to string tests, not file system elements.
upvoted 0 times
...
Kimberely
6 months ago
I think --d and --f are the ones that check for directories and files, right?
upvoted 0 times
...
Ludivina
6 months ago
Let me see... I'm pretty sure --z and --d are not file system operators, but I'm not 100% sure about the others. I'll have to think this through.
upvoted 0 times
...
Erick
6 months ago
I've got this! The two correct answers are --eq and --f. I'm confident in my knowledge of file system operations.
upvoted 0 times
...
Twana
6 months ago
Wait, what are the file system comparison operators again? I'm a bit fuzzy on those.
upvoted 0 times
...
Leslie
6 months ago
Hmm, this is a tricky one. I'll need to think carefully about the file system comparison operators.
upvoted 0 times
...
Adela
6 months ago
Okay, I know the file system operators pretty well, so I think I can handle this. Let me review the options.
upvoted 0 times
...
Adela
6 months ago
I'm a bit unsure about this one. I want to double-check the steps to make sure I'm not missing anything important.
upvoted 0 times
...
Thad
6 months ago
Okay, let me think this through. The engineer installed a device to automatically detect the missing caddy and prevent the door from closing. That sounds like a Poka yoke solution, which is designed to prevent defects by making it physically impossible to make the mistake. I'm feeling good about that being the right answer.
upvoted 0 times
...
Lawanda
2 years ago
I don't think --z is used for file system elements. It's more for checking if a string is null.
upvoted 0 times
...
Van
2 years ago
I'm not so sure about that. I think --z could also be one of the comparison operators.
upvoted 0 times
...
Leigha
2 years ago
I agree with you, --d checks if the file exists and is a directory, while --f checks if the file exists and is a regular file.
upvoted 0 times
...
Lawanda
2 years ago
I think the operators that work on elements in the file system are --d and --f.
upvoted 0 times
...
Eveline
2 years ago
Hmm, maybe you're right. I'll check the documentation.
upvoted 0 times
...
Kathryn
2 years ago
I remember using --f for file comparison.
upvoted 0 times
...
Alesia
2 years ago
No, I'm pretty sure it's --d and --z.
upvoted 0 times
...
Eveline
2 years ago
I think it's --d and --f.
upvoted 0 times
...
Kathryn
2 years ago
Which options work on elements in the file system?
upvoted 0 times
...

Save Cancel