Question: On linux system, how do I list the subdirectories recursively? I need to show the contents by file size. I've tried ls -R AND ls

On linux system, how do I list the subdirectories recursively? I need to show the contents by file size.

I've tried

ls -R

AND

ls -R /usr/lib

all that's showing is tons of mess with hundreds of lines of files and what looks like many folders. Also, the original command is not visible.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!