redis安装回显变量到bash不起作用ubuntu 14.04

时间:2015-12-21 17:55:07

标签: redis ubuntu-14.04

我在/ usr / local / src /

中下载了redis

代码:

cd redis-3.0.6
me@ubuntu:sudo make
me@ubuntu:sudo make PREFIX=/usr/local/redis-3.0.6 install
me@ubuntu:sudo ln -s redis-3.0.6 /usr/local/redis
me@ubuntu:echo 'export PATH=/usr/local/redis/bin:$PATH' >> -/.bash_profile

me@ubuntu:/usr/local/src/redis-3.0.6$ echo 'export
PATH=/usr/local/redis/bin:$PATH' >> -/.bash_profile
bash: -/.bash_profile: No such file or directory

知道出了什么问题?

0 个答案:

没有答案