I know you can use the find command for this simple job, but I got an assignment not to use find or ls and do the job. How can I do th
find
ls
The du command will list subdirectories recursively.
du
I'm not sure if empty directories get a mention, though