Search for files in a filesystem.
Find files by name. Accepts wildcard operators.
find / -name "name_to_find"
find / -name "name_to_find*"
find / -name "*name_to_find*"
Find directories.
find / -type d -name "target_directory"
Mindepth is used to define the minimum level to descend in a given path. Mindepth 1 processes all files except the starting points.
find / -mindepth 1 -type d -name "target_directory"
Maxdepth is used to define the maximum level to descend in a given path. Maxdepth 0 processes only files in the starting points.
find / -maxdepth 1 -type d -name "target_directory