centos中如何查看进程的安装目录?时间:2025-04-28 12:57:15例如查看 reids安装目录 如果命令 which 和whereis 都找不到安装目录,可使用以下办法 ps -ef|grep redis 得到了进程号 xxxx 然后 ls -l /proc/xxxx/cwd