Linux 文件定位和查找

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xiaoyilong2007101095/article/details/83863112

主要用到的有:

which,在$PATH下面查找,打印全路径

whereis  数据库搜素,主要是搜素命令

locate  快速搜索文件和档案,yum install -y  mlocate.x86_64可以安装,updatedb更新数据库

apropos 类似man -k 查找一类命令,知道某个功能,但是不清楚具体命令可以使用,比如man -k network

猜你喜欢

转载自blog.csdn.net/xiaoyilong2007101095/article/details/83863112