Linux查找文件夹名

@(编程)

find / -type d -name filename

type的类型

-type c
File is of type c:
b      block (buffered) special
c      character (unbuffered) special
d      directory
p      named pipe (FIFO)
f      regular file
l      symbolic  link;  this is never true if the -L option or the -follow option is in effect, unless the symbolic link is  broken. If  you want to search for symbolic links when -L is in effect, use -xtype.
s      socket
D      door (Solaris)

posted @ 2015-12-18 13:50  wardensky  阅读(388)  评论(0编辑  收藏  举报