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
