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 702-100 Topic 3 Question 22 Discussion

Actual exam question for LPI's 702-100 exam
Question #: 22
Topic #: 3
[All 702-100 Questions]

Which command finds all directories within the current user's home directory?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Lemuel
2 months ago
I believe the correct answer is A) find - -type d, as it specifically looks for directories.
upvoted 0 times
...
Wilford
2 months ago
I'm not sure, but I think it might be C) find / -d | home.
upvoted 0 times
...
Salome
2 months ago
I agree with Latrice, because the -type d flag specifies directories.
upvoted 0 times
...
Latrice
2 months ago
I think the answer is A) find - -type d.
upvoted 0 times
...
Ashleigh
2 months ago
I believe the correct answer is A) find - -type d, as it specifically looks for directories.
upvoted 0 times
...
Mirta
2 months ago
I'm not sure, but I think it might be E) find -d home.
upvoted 0 times
...
Katina
2 months ago
I agree with Alyce, because the -type d flag specifies directories.
upvoted 0 times
...
Vinnie
3 months ago
Haha, C is like a mad lib of Linux commands. I'd like to see that one in action!
upvoted 0 times
Oretha
1 months ago
E) find -d home
upvoted 0 times
...
Jolanda
1 months ago
C) find / -d | home
upvoted 0 times
...
Jeffrey
2 months ago
B) find. -dir
upvoted 0 times
...
Vincent
2 months ago
A) find - -type d
upvoted 0 times
...
...
Louis
3 months ago
D is a bit too specific, I think. Shouldn't we be looking for something more general?
upvoted 0 times
Gerry
2 months ago
B) find. -dir
upvoted 0 times
...
Gerry
2 months ago
A) find - -type d
upvoted 0 times
...
...
Alyce
3 months ago
I think the answer is A) find - -type d.
upvoted 0 times
...
Jeannetta
3 months ago
A is the correct answer, but I'm still not sure why they couldn't just use 'ls -d ~/*' instead.
upvoted 0 times
Annelle
3 months ago
I see, thanks for clarifying.
upvoted 0 times
...
William
3 months ago
True, 'find -type d' is the correct answer for finding directories.
upvoted 0 times
...
Kassandra
3 months ago
But the question specifically asked for the find command.
upvoted 0 times
...
Lucy
3 months ago
I think 'ls -d ~/*' would work too.
upvoted 0 times
...
...

Save Cancel