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 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:

Lawanda
5 months 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
5 months ago
I'm not so sure about that. I think --z could also be one of the comparison operators.
upvoted 0 times
...
Leigha
5 months 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
6 months ago
I think the operators that work on elements in the file system are --d and --f.
upvoted 0 times
...
Eveline
7 months ago
Hmm, maybe you're right. I'll check the documentation.
upvoted 0 times
...
Kathryn
7 months ago
I remember using --f for file comparison.
upvoted 0 times
...
Alesia
7 months ago
No, I'm pretty sure it's --d and --z.
upvoted 0 times
...
Eveline
7 months ago
I think it's --d and --f.
upvoted 0 times
...
Kathryn
7 months ago
Which options work on elements in the file system?
upvoted 0 times
...

Save Cancel