.bashrc: Permission denied

前端 未结 4 1750
陌清茗
陌清茗 2020-12-28 16:42

I try to work with a project in vagrant. I have made the command vagrant ssh, and connected to VM. Now I need to edit .bashrc file to set path to

4条回答
  •  梦毁少年i
    2020-12-28 17:25

    .bashrc is not meant to be executed but sourced. Try this instead:

    . ~/.bashrc
    

    Cheers!

提交回复
热议问题