find 命令的基本資訊如下:
命令名稱:find。
英文原意:search for files in a directory hierarchy.
所在路徑:/bin/find。
執行權限:所有用戶。
功能描述:在目錄中查找檔案。
命令格式
[root@localhost ~]# find 搜尋路徑 [選項] 搜尋內容
按照檔案名搜尋
[root@localhost ~]#find 搜尋路徑 [選項] 搜尋內容
按照檔案大小搜尋
[root@localhost ~]#find 搜尋路徑 [選項] 搜尋內容
按照修改時間搜尋
[root@localhost ~]# find搜尋路徑 [選項] 搜尋內容
按照權限搜尋
[root@localhost ~]# find 搜尋路徑 [選項] 搜尋內容
按照所有者和所屬組搜尋
[root@localhost ~]# find 搜尋路徑 [選項] 搜尋內容
按照檔案類型搜尋
[root@localhost ~]# find 搜尋路徑 [選項] 搜尋內容