find <path> -type d -name "dir_name"
-type d
是查找目录的参数,如果是查找其他的:
-type b
: Block special device file-type c
: Character special device file-type f
: Regular file-type l
: Symbol link
find <path> -type d -name "dir_name"
-type d
是查找目录的参数,如果是查找其他的:
-type b
: Block special device file-type c
: Character special device file-type f
: Regular file-type l
: Symbol link