我在/ 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
知道出了什么问题?