admin管理员组

文章数量:1620180

1.find

使用find查找文件的所在路径

find 查找路径 查找参数

在根目录下查找以.conf结尾的文件
find / -name *.conf

2.ps

通过查找进程的方法找到对应的包的路径

ps -ef|grep mongo

也可以简写成

pgrep mongo

3.whereis

有时候可以借助查找文件的方式找到对应包的路径

如 whereis mysql

本文标签: 命令系统软件Linux