how to list all files and subdirectories in linux code example
Example 1: list all files in a directory and subdirectory linux
find . -type f -follow -print
Example 2: bash list all files in directory and subdirectories
# Bash-specific
# syntax
ls -R
# example
ls -R *hotographi*