例如查看 reids安装目录 如果命令 which 和whereis 都找不到安装目录,可使用以下办法 ps -ef|grep redis 得到了进程号 xxxx 然后 ls -l /proc/xxxx/cwd 相关文章: 2021-12-27 2021-11-15 2021-11-20 2021-12-06 2021-12-19 2022-01-04 2022-12-23