010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 56


FILL BLANK -

What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option name without any values or parameters.)

Show Answer
Correct Answer:

The correct parameter for the `ls` command to print a recursive listing of a directory's content is `-R`. This option ensures that the `ls` command will list all files in the given directory and all of its subdirectories, effectively providing a complete, recursive view of the directory structure.

Discussion

9 comments
Sign in to comment
Corbin
Aug 14, 2020

"Specify ONLY the option name without any values or parameters" ok so it's "-R"

MIU
Nov 14, 2020

I totally agree with you. But this is a CBT exam. Does the exam system really recognize only "-R" as an answer?

testtaker100
Sep 2, 2020

--recursive Would that work as well?

d0ggyl0v3r
Jan 4, 2021

lpi linux essentials exam fill ins are a maximum of 3 characters long

louky
Nov 19, 2020

I agree with Corbin, the question is a little confusing

Rems
Feb 7, 2021

-R or R ? Can anyone confirm? :(

mar80
Aug 29, 2021

It's -R

Traian
Aug 23, 2021

Yes, it's "ls -R"

sasquatchshrimp
Dec 13, 2020

I think they are looking for the -R, but maybe --recursive would work. My money would be on the short option, not the longer version of it. But who knows, you would think they would except both.

surfboard
Aug 4, 2023

-R stands for recursive, correct?

ipv84
Apr 17, 2024

Only "-R"

b722029
Jun 29, 2024

What about -r?