linux搜索命令
一、locate
1 | /etc/updatedb.conf #locate配置文件筛选规则 |
二、whereis
1 | whereis -b -m |
三、which
1 | which ll #会搜索文件别名 |
四、find
1 | find / -name install.log |
五、grep
1 | grep -i #不区别大小写 |
1 | /etc/updatedb.conf #locate配置文件筛选规则 |
1 | whereis -b -m |
1 | which ll #会搜索文件别名 |
1 | find / -name install.log |
1 | grep -i #不区别大小写 |