how to list all files in a directory and subdirectory unix 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 <file-or-directory-to-find>
# example
ls -R *hotographi*