Free LPI 010-160 Actual Exam Questions - Question 10 Discussion

Question No. 10
What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option
name without any values or parameters.)
US
RN
Rayan N.
2026-02-15

-R is the only option that actually digs into subdirectories; lowercase -r is just for reversing the sort order. So it’s gotta be -R for recursive listing.

0
RN
Rayan N.
2026-02-13

-R is the common flag for recursion in ls. Other options like -r just reverse order, so it doesn’t fit. The uppercase R is what triggers listing subdirectories recursively.

0
SK
Shoaib K.
2026-02-12

I’d say it’s definitely -R because that’s the standard for recursive in ls. Other options don’t do recursive listing, so it’s the only logical choice here.

0
UY
Usman Y.
2026-01-25

Since they asked for the parameter name, -R fits best for recursive listing.

0
UY
Usman Y.
2026-01-23

- The question says "parameter," so I think they want the short option R.

0
ZJ
Zain J.
2026-01-19

Actually, -r is for reverse order, not recursion. The recursive option is -R, which makes ls list directories and their contents recursively. So the right parameter is -R.

0
AW
Ahmed W.
2026-01-17

Option C is definitely out since it deals with sorting, not recursion. The answer should be the option that lets ls list subdirectories too.

0