私がすることができます:
sudo nano .bash_profile
しかし、私がこれを行うとき:
sudo echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
次のエラー メッセージが表示されます。
-bash: /Users/mycomputer/.bash_profile: Permission denied
ls -al を実行すると:
-rw-r--r-- 1 root staff 27 10 Aug 12:22 .bash_profile