how to find directory in linux using ls command code example Example: list all files in a directory and subdirectory linux find . -type f -follow -print