26

《Bash 脚本教程》发布了 - 阮一峰的网络日志

 4 years ago
source link: http://www.ruanyifeng.com/blog/2020/04/bash-tutorial.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

《Bash 脚本教程》发布了

过去三个月,我一直在写《Bash 脚本教程》,现在终于写完了。

bg2020041608.jpg

Bash 是 Linux 和 Mac 的默认 Shell(命令行环境),系统管理和服务器开发都需要它。虽然不难,但是语法很怪异,比如计算字符串的长度要写成${#varname},根本记不住,需要查手册。网上找不到简明扼要的中文教程,我很早就想整理一个,方便自己日后使用。

我一共写了20节,Bash 脚本编程的主要语法,都包括在内了,日常使用应该足够。点击这个链接,现在就可以自由阅读和访问。也欢迎初学者使用这个教程,学习 Bash。

bg2020041607.jpg

这个教程是开源的,你可以克隆它的代码仓库,放在本地,也可以提交 issue 和 pull request,反馈感想,帮助我提高教程质量。

  • 版权声明:自由转载-非商用-非衍生-保持署名(创意共享3.0许可证
  • 发表日期: 2020年4月16日

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK