Cyber Monday 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 83 Discussion

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

Sommer
5 months ago
Hmm, I think the answer is --f and --d. After all, the file system is where all the good stuff happens, right? And who doesn't love a little directory drama?
upvoted 0 times
Roxane
3 months ago
Absolutely, --f and --d are the comparison operators that focus on the file system.
upvoted 0 times
...
Alpha
3 months ago
Yep, --f and --d are the ones you want to use for file system comparisons.
upvoted 0 times
...
Tran
3 months ago
Definitely, those are the ones that work on elements in the file system.
upvoted 0 times
...
Anglea
3 months ago
I agree, --f and --d are the correct comparison operators for the file system.
upvoted 0 times
...
...
Tarra
5 months ago
This is a piece of cake! --f for files, --d for directories. Although, I wonder if --z stands for 'Zippity-do-dah' or something. You never know with these shell script questions.
upvoted 0 times
...
Lindsay
5 months ago
Wait, what's the difference between --eq and --lt? Are we comparing file sizes or something? I need to brush up on my file system operators.
upvoted 0 times
...
Willow
5 months ago
Okay, I've got this! --f for regular files, and --d for directories. Boom, two correct answers. Time to ace this exam!
upvoted 0 times
...
Mitzie
5 months ago
Hmm, let's see... --z and --d look like they could be file system operators. But I'm not sure about the others. Gotta be careful with these trick questions, you know?
upvoted 0 times
Therese
3 months ago
So, --eq, --f, and --lt are not file system comparison operators. Good thing we figured that out!
upvoted 0 times
...
Ivory
3 months ago
Yeah, --z checks if a file exists and is not empty, while --d checks if a file exists and is a directory.
upvoted 0 times
...
Alexis
3 months ago
I think you're right, --z and --d are the comparison operators that work on elements in the file system.
upvoted 0 times
...
Hui
4 months ago
Definitely, gotta pay attention to those tricky questions!
upvoted 0 times
...
Huey
4 months ago
Yeah, I agree. The others are more for comparing strings or numbers.
upvoted 0 times
...
Leanna
4 months ago
I think you're right, --z and --d are the ones that work on elements in the file system.
upvoted 0 times
...
Miss
5 months ago
Yeah, I agree. The others like --eq, --f, and --lt are not file system operators.
upvoted 0 times
...
Tammara
5 months ago
I think you're right, --z and --d are the comparison operators that work on elements in the file system.
upvoted 0 times
...
...
Yuette
5 months ago
I'm not sure about --d, but I know for sure that --f is used to check if a file exists.
upvoted 0 times
...
Lai
5 months ago
I agree with Shawna, --d and --f are used to check if a file exists and if it is a regular file.
upvoted 0 times
...
Shawna
6 months ago
I think the comparison operators that work on elements in the file system are --d and --f.
upvoted 0 times
...

Save Cancel