开发者

Running a script in .bashrc

开发者 https://www.devze.com 2023-03-11 00:40 出处:网络
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

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

精彩评论

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

关注公众号