Reputation: 4360
I have a script that I have to run in order to use a particular application. I figured that instead of manually running 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?
Upvotes: 0
Views: 2254
Reputation: 182649
The script is most likely not executable. Try chmod +x your_script
.
Upvotes: 3