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 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
3 months ago
I believe the correct answer is A) find - -type d, as it specifically looks for directories.
upvoted 0 times
...
Wilford
3 months ago
I'm not sure, but I think it might be C) find / -d | home.
upvoted 0 times
...
Salome
3 months ago
I agree with Latrice, because the -type d flag specifies directories.
upvoted 0 times
...
Latrice
3 months ago
I think the answer is A) find - -type d.
upvoted 0 times
...
Ashleigh
3 months ago
I believe the correct answer is A) find - -type d, as it specifically looks for directories.
upvoted 0 times
...
Mirta
3 months ago
I'm not sure, but I think it might be E) find -d home.
upvoted 0 times
...
Katina
4 months ago
I agree with Alyce, because the -type d flag specifies directories.
upvoted 0 times
...
Vinnie
4 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
2 months ago
E) find -d home
upvoted 0 times
...
Jolanda
3 months ago
C) find / -d | home
upvoted 0 times
...
Jeffrey
3 months ago
B) find. -dir
upvoted 0 times
...
Vincent
3 months ago
A) find - -type d
upvoted 0 times
...
...
Louis
4 months ago
D is a bit too specific, I think. Shouldn't we be looking for something more general?
upvoted 0 times
Gerry
3 months ago
B) find. -dir
upvoted 0 times
...
Gerry
3 months ago
A) find - -type d
upvoted 0 times
...
...
Alyce
4 months ago
I think the answer is A) find - -type d.
upvoted 0 times
...
Jeannetta
4 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
4 months ago
I see, thanks for clarifying.
upvoted 0 times
...
William
4 months ago
True, 'find -type d' is the correct answer for finding directories.
upvoted 0 times
...
Kassandra
4 months ago
But the question specifically asked for the find command.
upvoted 0 times
...
Lucy
4 months ago
I think 'ls -d ~/*' would work too.
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