a、find 语法:find <起始目录> <搜索条件> <动作> 例如:find /home -name nginx.conf b、locate 语法:locate 文件或目录名称 例如:locate Nginx