"find" is a useful tool to locate files or folders that match certain known search criteria

Find all files and folders within current directory that are named "index.html"

  • find ./ -name "index.html"

Find all files and folders within /home and subdirectories that end with ".txt"

  • find /home -name "*.txt"