Multiple choice technology operating systems

What is the ls command to view subdirectories recursively?

  1. ls -R

  2. ls -l

  3. ls -r

  4. ls -A

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The -R (uppercase) flag in the ls command stands for recursive, allowing the user to see files in the current directory and all subdirectories. The -r (lowercase) flag is used to reverse the sort order.