《高级 Bash 脚本编程指南》封面

高级 Bash 脚本编程指南

Advanced Bash-Scripting Guide

Mendel Cooper

16人推荐
30位读者提及
33次提及

为什么值得读

  • 理解并运行全部代码可跻身前10%水平
  • 所授知识同样能极大提升交互式终端操作效率
  • 详尽拆解了各类常用内部变量与语法细节

Hacker News 上怎么说

  • ……用来应付小任务,如果我遇到什么问题的话。顺便问下,有人知道哪里(网站、书之类的)整理了这类小任务脚本吗?这样大家就能把它们当成小作业来练手了。Mendel Cooper 写的《Advanced Bash Scripting Guide》(http://tldp.org/LDP/abs/html/)里面有一些不错的脚本,我以前练手时碰到过,但它们没有按循序渐进的顺序排。还有别的推荐吗?

    …for small tasks, if I come across any problem. Just in case, does anyone know a place(website,book etc.) where such small task scripts are collated so that anyone can use them like small assignments? Advanced Bash Scripting Guide by Mendel Cooper(http://tldp.org/LDP/abs/html/) has some good scripts which I have come across for some practice but it isn't ordered. Any others ?

  • 我想把《Advanced Bash-Scripting Guide》(http://tldp.org/LDP/abs/html/)也推荐进来,这绝对是个神仙资源。虽然它显然更偏向脚本编写,但它讲的大部分内容在交互式 shell 里面也极其有用。我以前……

    I would like to add the Advanced Bash-Scripting Guide (http://tldp.org/LDP/abs/html/) as an incredible resource. It's obviously geared towards scripting but most of what it teaches is extremely useful for working in an interactive shell as well. I had been…

  • 如果你把《The Advanced Bash Scripting Guide》里的所有代码都读过、跑过一遍并且彻底搞懂,你会猛然发现自己已经跻身使用 bash 的前 10% 的人群了。https://www.tldp.org/LDP/abs/html/ (PDF 版本:http://tldp.org/LDP/abs/abs-guide.pdf )

    If you read, execute and understand all the code in "The Advanced Bash Scripting Guide", you will suddenly find yourself in the top 10% of people who use bash. https://www.tldp.org/LDP/abs/html/ (as a pdf: http://tldp.org/LDP/abs/abs-guide.pdf )

  • http://www.tldp.org/LDP/abs/html/ TLDP 的《Advanced Bash-Scripting Guide》是学习 bash 的绝佳资源。比如这一节就讲了“$*”的含义:http://www.tldp.org/LDP/abs/html/internalvariables.html#ARGL...

    http://www.tldp.org/LDP/abs/html/ TLDP's Advanced Bash-Scripting Guide is a great resource for learning bash. For example, this section talks about the meaning of "$*": http://www.tldp.org/LDP/abs/html/internalvariables.html#ARGL...

  • 以前有个叫 Linux Documentation Project 的超棒资源。虽然现在不像以前那么活跃了,但它产出过一些真正具备书籍品质的文档,包括在 https://www.tldp.org/LDP/abs/html/ 的《Advanced Bash Scripting Guide》。一定要去读读!写得太棒了。不过要知道,很多 bash 脚本编写其实并不完全在 bash 本身,而是真的需要精通 grep、sed、cut、dc 以及其他几个……

    There used to be this great resource called Linux Documentation Project. It's not as active as it used to be but it produced some really book-quality documents, including the Advanced Bash Scripting Guide at https://www.tldp.org/LDP/abs/html/ . Read it! It's great. But know that a lot of bash scripting isn't really in bash, it's really required to be proficient with grep, sed, cut, dc and a few other…

  • 与其去看那些专有书籍,我更建议大家读读经典的《Advanced Bash-Scripting Guide》:http://tldp.org/guides.html#abs 初学者可能更喜欢《Bash Guide for Beginners》:http://tldp.org/guides.html#bbg 。Bash 的 manual page 之所以简明扼要,是因为它是一份 Unix manual page。Unix manual……

    Instead of some proprietary book, I would suggest people read the classic Advanced Bash-Scripting Guide: http://tldp.org/guides.html#abs Beginners might prefer the Bash Guide for Beginners: http://tldp.org/guides.html#bbg The Bash manual page is concise because it is a Unix manual page. Unix manual…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助