linux系统下怎么查看软件安装的目录?
方法1:
whereis 软件名
以查询nginx为例子
whereis nginx
方法2:
ps -ef|grep 软件名
ls -l /proc/进程 /cwd
如查看mysql:
ps -ef|grep mysql
ls -l /proc/1285/cwd
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!