Bash学习资料

Bash (GNU Bourne-Again SHell) the default shell for many Linux distributions. It is very common for scripting languages in Linux. Bash is easy and straightforward for writing small tools. However, as most tools, it has its grammars that could easily cause bugs if they are not used correctly. Here I summarize a list of good Bash learning materials for beginners and advanced Bash script developers.

Bash(GNU Bourne-Again SHell)是许多Linux发行版的默认外壳。 在Linux中编写脚本语言非常普遍。 Bash易于编写简单的小型工具。 但是,作为大多数工具,它的语法如果使用不正确,很容易导致错误。 在这里,我为初学者和高级Bash脚本开发人员总结了一份不错的Bash学习材料清单。

必须阅读:bash手册 (Must read: bash manual)

The bash manual is the must read document from my point of view for any developers that would write Bash scripts. It is long. But RTFM before seriously using a tool.

从我的角度来看, bash手册对于任何会编写Bash脚本的开发人员来说都是必读的文档。 很长 但是RTFM才认真使用工具。

Google Shell样式指南 (Google shell style guide)

Google limits its shell to Bash and it’s Google shell style guide is actually a Bash shell script style guide. The style guide give good practices that can help developers write scripts with less bugs.

Google将其shell限制为Bash,它的Google Shell样式指南实际上是Bash Shell脚本样式指南 。 样式指南提供了良好的做法,可以帮助开发人员编写错误更少的脚本。

One note: you don’t need to use all these rules in the Google style guide because it is for Google. Tailor it for your own projects/team.

请注意:您不需要使用Google样式指南中的所有这些规则,因为它适用于Google。 为您自己的项目/团队量身定制。

高级指南:高级Bash脚本指南 (Advanced guide: Advanced Bash-Scripting Guide)

If you are already familiar with Bash, the next step is to read the Advanced Bash-Scripting Guide by Mendel Cooper. You can read in formats you like:

如果您已经熟悉Bash,则下一步是阅读Mendel Cooper撰写的Advanced Bash-Scripting Guide。 您可以阅读喜欢的格式:

其他阅读和Bash技术 (Other readings and Bash techniques)

Debugging Bash scripts: How to debug Bash scripts.

调试Bash脚本: 如何调试Bash脚本

And read More topics on Bash here.

此处阅读有关Bash的更多主题

翻译自: https://www.systutorials.com/bash-learning-materials/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值