@(编程)

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)

相关文章:

  • 2022-12-23
  • 2021-11-20
  • 2021-12-01
  • 2021-12-27
  • 2021-12-15
  • 2022-02-11
猜你喜欢
  • 2022-02-06
  • 2021-11-27
  • 2021-12-12
  • 2021-06-13
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案