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
.
精彩评论