查找redis安装目录

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

   ps -ef|grep redis

得到了进程号 xxxx

 然后 ls -l /proc/xxxx/cwd

 

亲测 centos7下有效

 

参考:https://blog.csdn.net/liu59412/article/details/84023234

posted on 2019-10-10 18:32  mylittlecabin  阅读(4810)  评论(0编辑  收藏  举报

导航