linux系统下怎么查看软件安装的目录?
方法1:
whereis 软件名以查询nginx为例子
whereis nginx方法2:
ps -ef|grep 软件名ls -l /proc/进程号/cwd如查看mysql:
ps -ef|grep mysqlls -l /proc/1285/cwd linux系统下怎么查看软件安装的目录?
方法1:
whereis 软件名以查询nginx为例子
whereis nginx方法2:
ps -ef|grep 软件名ls -l /proc/进程号/cwd如查看mysql:
ps -ef|grep mysqlls -l /proc/1285/cwd