linux执行shell脚本
2015-03-06 00:09 sylar_liang 阅读(183) 评论(0) 编辑 收藏 举报方法有2种:
1.bash myshell.sh
2.先给脚本加上可执行权限。
chmod +x myshell.sh
./myshell.sh
string(21) "{"docs":[],"count":0}" array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) }
方法有2种:
1.bash myshell.sh
2.先给脚本加上可执行权限。
chmod +x myshell.sh
./myshell.sh
相关文章: