Simplest way for list all files in a particular path, recursively,

find ./ -ls

Would you want list only YML files?

find ./ -iname "*.yml" -ls

-iname: ignore case (search for all files with Yml or YML or yml etc)

Welcome to Ask DevOps!
You can find quick one line answers to popular DevOps, Amazon AWS, Microsoft Azure, Google cloud services, tools & basic to advanced Linux questions!
DevOps Tools list