linux系统下怎么查看软件安装的目录?
方法1:
whereis 软件名
以查询nginx为例子
whereis nginx
方法2:
ps -ef|grep 软件名
ls -l /proc/进程号/cwd
如查看mysql:
ps -ef|grep mysql
ls -l /proc/1285/cwd
linux系统下怎么查看软件安装的目录?
方法1:
whereis 软件名
以查询nginx为例子
whereis nginx
方法2:
ps -ef|grep 软件名
ls -l /proc/进程号/cwd
如查看mysql:
ps -ef|grep mysql
ls -l /proc/1285/cwd
本文暂时没有评论,来添加一个吧(●'◡'●)