list all files and subdirectories linux code example
Example 1: list recursively all files linux
find <directory>/ -print
ls -R <directory>
Example 2: list all files in a directory and subdirectory linux
find . -type f -follow -print
find <directory>/ -print
ls -R <directory>
find . -type f -follow -print