Shell script to list all files in a directory and subdirectories. The following example shows how to do it with syntax.