Linux search command by file name
find search directory -name target name
find / -name file名
/ Represents a full search, you can also specify a directory search
Find command format for searching files:
find [Search Range] [Match Condition]
Options:
-name search by name
-size search according to file size, +,-: greater than the set size, directly write the size is equal
-user Find all files of the owner of the username
-group Find related files according to their group
-type search according to file type (f file, d directory, l soft link file)
-inum Find according to i-node
-amin access time access
-cmin file attribute change
-mmin file content modify