linux 查找运行中软件安装位置

如果命令 which 和whereis 都找不到安装目录,可使用以下办法

   ps -ef|grep redis

得到了进程号 xxxx

 然后 ls -l /proc/xxxx/cwd

你可能感兴趣的:(linux 查找运行中软件安装位置)