haibaraxx的个人博客分享 http://blog.sciencenet.cn/u/haibaraxx

博文

Shell: make your shell scripts executable

已有 1695 次阅读 2016-12-16 17:46 |个人分类:Linux|系统分类:科研笔记| scripts, executable

In some cases when: you get a shell  script from other people; download it online or change the path of it etc., you may encounter such message - Permission denied - when it is run on your computer again. One possible reason is the shell script become inexecutable. Then do this in Linux termial:

chmod u+x *.sh

% change mode, user+executable, shell file name



https://blog.sciencenet.cn/blog-3031432-1021170.html

上一篇:您的博文发表过快,请在xxx秒后再发。
下一篇:Linux: kill jobs
收藏 IP: 134.1.1.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-17 18:02

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部