学习Shell,这一篇就够了:
http://c.biancheng.net/view/706.html
https://www.runoob.com/linux/linux-shell.html (菜鸟教程)
https://www.w3cschool.cn/linux/linux-shell.html (w3cschool)
https://haicoder.net/shell/shell-array.html
https://zhuanlan.zhihu.com/p/552320904?utm_id=0
https://blog.csdn.net/wbo112/article/details/122502400
Shell 是一个应用程序,它连接了用户和 Linux 内核,让用户能够更加高效、安全、低成本地使用 Linux 内核,这就是 Shell 的本质。
-
Linux中Shell的种类
sbin/nologin:https://blog.csdn.net/lws123253/article/details/89340427 -
shell解析命令行的过程
https://www.cnblogs.com/f-ck-need-u/p/7426371.html -
shell里无法执行source指令
https://blog.csdn.net/qq_32693119/article/details/85231286
sudo dpkg-reconfigure dash
选择“否”。 -
shell执行结果状态码
https://blog.csdn.net/HFCS2018/article/details/106350125 -
多种执行shell的方式
https://blog.csdn.net/houxiaoni01/article/details/105161356
新手问题
-
执行sh脚本提示权限不够
通过ll可以发现sh脚本没有可执行权限,通过http://c.biancheng.net/view/755.html可知,通过chomd a+x ./xx.sh
可以给脚本文件增加可执行权限。 -
Linux脚本开头#!/bin/bash和#!/bin/sh是什么意思以及区别
https://www.cnblogs.com/EasonJim/p/6850319.html -
bash -c
/bin/bash -c 后面接 命令 ,而 /bin/bash 后面接 执行的脚本。 -
export指令
https://blog.csdn.net/m0_38028438/article/details/104609844
待分类
判断上一个命令是否执行成功
https://www.cnblogs.com/xzlive/p/9482204.html
https://www.cnblogs.com/Gdavid/p/13500914.html
sleep指令:
https://blog.csdn.net/kexiuyi/article/details/54314697
0 条评论