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