开发者

Running a script in .bashrc

I have a script that I have to run in order to use a particular application. I figured that instead of manually run开发者_开发技巧ning the script from the terminal everytime, I thought I could add the script to .bashrc so it will run automatically. But when I do that I get a "permission denied" error when I source .bashrc.

How should I properly add a script to be run from .bashrc?


The script is most likely not executable. Try chmod +x your_script.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜