Article 59886 How does the "find" program knows where file is stored (more details in message...)?

How does the "find" program knows where file is stored (more details in message...)?

by
jokich
from LinuxQuestions.org on (#59886)
So I am curious the usual way to find files under Linux with "find" (from GNU findutils, or src: find.c) should get the file names or at least directory names from some system file, correct?

Even if "find" simply tries to verify search term vs if-file-exists then it should know how to recurse within deep directories?

Say I run:

find /home -name logs

logs is in directory: /home/lisa-is-better-dancer-than-jennie/logs

It will find the directory + file and show it meaning at least it gets directory names from somewhere? Thanks in advance!latest?d=yIl2AUoC8zA latest?i=CUWPT8cNyUY:5W0KjGzRXV8:F7zBnMy latest?i=CUWPT8cNyUY:5W0KjGzRXV8:V_sGLiP latest?d=qj6IDK7rITs latest?i=CUWPT8cNyUY:5W0KjGzRXV8:gIN9vFwCUWPT8cNyUY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments