Linux命令学习-01——find -type

 

Linux find 命令用来在指定目录下查找文件。

任何位于参数之前的字符串都将被视为欲查找的目录名。如果使用该命令时,不设置任何参数,则 find 命令将在当前目录下查找子目录与文件。并且将查找到的子目录和文件全部进行显示。

语法:

find   path   -option   [   -print ]   [ -exec   -ok   command ]   {} \;

  

 

 

参考:

1、https://blog.csdn.net/a1809032425/article/details/79810284

 2、https://www.runoob.com/linux/linux-comm-find.html

posted @ 2020-11-29 13:52  额是无名小卒儿  阅读(1021)  评论(0编辑  收藏  举报