是否有一个很好的免费(最好是 PDF)的 bash 在线教程?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2979609/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there a good free (prefrerably PDF) bash tutorial online?
提问by morpheous
I am finding myself doing a lot more messing around with scripts than I used to and my lack of knowledge in this area (and linux sysadmin/security in general), is becoming a hindrance.
我发现自己对脚本的处理比以前多得多,而且我缺乏这方面的知识(以及一般的 linux 系统管理员/安全性),这正成为一个障碍。
Can anyone recommend a good online resource for bash scripting/linux admin. Preferably, it will be in pdf format, so I can copy it (single file) onto my PDA.
任何人都可以为 bash 脚本/linux 管理员推荐一个好的在线资源。最好是 pdf 格式,这样我就可以将它(单个文件)复制到我的 PDA 上。
采纳答案by Emil Vikstr?m
I've learnt much from the Advanced Bash-Scripting Guide
我从高级 Bash 脚本指南中学到了很多东西
This guide is targeted more at programming beginners, but it can prove useful too: Bash Guide for Beginners.
本指南主要针对编程初学者,但也证明它也很有用: Bash 初学者指南。
I usually use the HTML version as a reference when hacking Bash, but there is a PDF version of both guides if you want to read them all through. You can find all formats of the guides at http://www.tldp.org/guides.html
在破解 Bash 时,我通常使用 HTML 版本作为参考,但是如果您想通读一遍,这两个指南都有 PDF 版本。您可以在http://www.tldp.org/guides.html找到所有格式的指南
回答by Stefan Lasiewski
The available PDF manuals are very limited. I download some of these HTML guides using something like wget --page-requisites --mirror --convert-linksso I can read them on the train on my laptop.
可用的 PDF 手册非常有限。我使用类似的方法下载了其中的一些 HTML 指南,wget --page-requisites --mirror --convert-links这样我就可以在火车上用我的笔记本电脑阅读它们。
- The Advanced Bash Scripting Guide. Covers a range of topics, from basic to advanced.
- The Bash Reference Manualis okay, but it's just a reference manual. I read it, but I am sometimes left with unanswered questions. This is a pretty official document, and other guides often refer to this document.
- Bash Guide for Beginners. Despite the name, this is a great reference for experienced users also.
- BASH Frequently Asked Questionsis a great resource
- The Bash-Hackers Wikiis an excellent resource and is filled with all sorts of useful topics. The Syntax Guideis great and often better syntax reference then the Bash Reference Manual.
- Vivek Gite has some great articles at cyberciti.biz. See bash.cyberciti.bizand www.cyberciti.biz/faq/category/bash-shell/
- 高级 Bash 脚本指南。涵盖从基础到高级的一系列主题。
- Bash 参考手册还可以,但它只是参考手册。我读过它,但有时我会遇到未解决的问题。这是一份非常正式的文档,其他指南经常参考此文档。
- Bash 初学者指南。尽管名称如此,但对于有经验的用户来说,这也是一个很好的参考。
- BASH 常见问题是一个很好的资源
- Bash-Hackers Wiki是一个极好的资源,其中包含各种有用的主题。该语法指南是伟大的,往往更能语法参考,然后在Bash参考手册。
- Vivek Gite 在cyberciti.biz 上有一些很棒的文章。请参阅bash.cyberciti.biz和www.cyberciti.biz/faq/category/bash-shell/
回答by Fritz G. Mehner
Do not miss to look at http://mywiki.wooledge.org/BashGuide.
回答by Fritz G. Mehner
There is the Advanced Bash Scripting Guide- for PDF versions do a bit a of Googling.
有高级 Bash 脚本指南- 对于 PDF 版本,请进行一些谷歌搜索。

