MySQL, Oracle, Linux, 软件架构及大数据技术知识分享平台

网站首页 > 精选文章 / 正文

linux系统查看软件安装目录的方法

2025-04-26 18:43 huorong 精选文章 1 ℃ 0 评论

linux系统下怎么查看软件安装的目录?

方法1:

whereis 软件名

以查询nginx为例子

whereis nginx

方法2:

ps -ef|grep 软件名
ls -l /proc/进程号/cwd

如查看mysql:

ps -ef|grep mysql
ls -l /proc/1285/cwd

Tags:linux创建目录

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言