Exam 010-160 All QuestionsBrowse all questions from this 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.)

    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
Corbin

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

MIU

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

Traian

Yes, it's "ls -R"

Rems

-R or R ? Can anyone confirm? :(

mar80

It's -R

louky

I agree with Corbin, the question is a little confusing

testtaker100

--recursive Would that work as well?

d0ggyl0v3r

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

b722029

What about -r?

ipv84

Only "-R"

surfboard

-R stands for recursive, correct?

sasquatchshrimp

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.