转载请注明出处http://blog.csdn.net/drecik__/article/details/8455399

 

Linux 常用命令——which, whereis, locate, find

Linux 常用命令——which, whereis, locate, find

 

2. whereis 搜索文件,跟locate一样只搜索数据库

Linux 常用命令——which, whereis, locate, find

 

3. locate 搜索文件,只搜索数据库,默认每天更新一次,收到更新使用updatedb

Linux 常用命令——which, whereis, locate, find

 

4. find 从硬盘中查找文件,查找文件时最后才考虑的方法,因为伤硬盘

Linux 常用命令——which, whereis, locate, findLinux 常用命令——which, whereis, locate, findLinux 常用命令——which, whereis, locate, findLinux 常用命令——which, whereis, locate, findLinux 常用命令——which, whereis, locate, find

分享到: 

 

 

相关文章: