I would like to receive the following output.
Suppose the directory structure on the file system is like this:
-dir1 -dir2 -file1 -fi
in shell:
find . -type d
gives directories from current working directory, and:
find . -type f
gives files from current working directory.
Replace . by your directory of interest.
.