Only list files | don't list directories | "find" command in Linux
Published by Nicholas Dunbar on December 20th, 2012
How to:
Find all files under a directory
Find only files from the command line in Linux
Don't search for directories
[user@machinename ~]$ find /some/directory -type f -name filename
Replace "/some/directory" with your directory
"-type f" means only return files as a result, if you want only directories "-type d"