1.whereis 文件

  特点:快速,但是是模糊查找,例如 找 #whereis mysql 它会把mysql,mysql.ini,mysql.*所在的目录都找出来.

  2.find / -name 文件名或文件夹名

  特点:准确,但速度慢,消耗资源大,例如我想找到PHP.ini的准确位置,就需要用

  #find / -name php.ini

  3.locate 文件

  强力推荐的方法,最快,最好的方法.

 

原文链接

http://blog.csdn.net/lieyanhaipo/article/details/17055667

相关文章:

  • 2021-12-05
  • 2022-01-30
  • 2022-01-17
  • 2022-01-07
  • 2022-01-07
  • 2022-01-26
猜你喜欢
  • 2021-12-05
  • 2021-12-05
  • 2022-03-06
相关资源
相似解决方案