如果用命令 which redis 或者 whereis redis 都找不到安装目录, 可使用以下办法: ps -aux | grep redis 或者ps -ef|grep redis 假如得到了进程号 16678然后用命令 ll /proc/16678/cwd 相关文章: 2021-11-05 2021-11-15 2021-12-19 2021-12-19 2021-11-05 2021-12-19 2021-11-28 2021-06-29