
学习 bash Shell
Learning the bash Shell
Cameron Newham、Bill Rosenblatt · 初版 1995 年
2人推荐
6位读者提及
6次提及
Learning the bash Shell, Third Edition是关于Free Software Foundation旗下bash(即“Bourne Again Shell”)的权威指南。它是UNIX Bourne shell的免费替代品,也是Linux、Mac OS X、BSD及其他UNIX系统用户的首选shell。无论你是对作为用户界面的bash感兴趣,还是看重其强大的编程能力,都会发现这本指南极具价值。本书将教你如何使用bash的高级命令行功能,例如command history、command-line editing以及command completion。本书还介绍了shell programmi……
Hacker News 上怎么说
正在加载完整评论……
我很喜欢 O'Reilly 那本《Learning the Bash Shell》:http://oreilly.com/catalog/9780596009656/ 我一直把它当成写 shell 脚本的参考书放在手边,因为它既详尽又兼顾了可移植性。
I like the O'Reilly book, Learning the Bash Shell: http://oreilly.com/catalog/9780596009656/ I keep it on hand as a reference for shell scripting, since it's both thorough and fairly portable.
……《Learning UNIX》(也是 O'Reilly 的):http://www.amazon.com/Learning-UNIX-Operating-System-Fifth/d... * Bash:- http://linuxcommand.org/ - http://bash.cyberciti.biz/guide/Main_Page(更好,而且非常棒)- 《Learning the Bash shell》:http://oreilly.com/catalog/9780596009656/ - 《Advanced Bash Scripting》(在线):http://tldp.org/LDP/abs/html/ - YouTube 播放列表:http://www.youtube.com/view_play_list?p=2284887FAE36E6D8 * 正则表达式:……
…Learning UNIX (also O'Reilly): http://www.amazon.com/Learning-UNIX-Operating-System-Fifth/d... * Bash: - http://linuxcommand.org/ - http://bash.cyberciti.biz/guide/Main_Page (better, and v good) - Learning the Bash shell: http://oreilly.com/catalog/9780596009656/ - Advanced Bash Scripting (online): http://tldp.org/LDP/abs/html/ - YouTube playlist: http://www.youtube.com/view_play_list?p=2284887FAE36E6D8 * Regular Expressions:…
……就可以跳过去。(最新版本加上 TAB 补全之后,跳起来就更方便了。)http://www.caliban.org/bash/(在 bash Tips and Tricks 下)另一个好用的 cd 小技巧:# 无耻地抄自 Cameron Newham 和 Bill Rosenblatt 的《Learning the Bash Shell》(第3版) my_cd() { case "$#" in 0|1) builtin cd $1 ;; 2) newdir=${PWD//$1/$2}…
…get to. (Add TAB completion in its latest version and they're even easier to get to.) http://www.caliban.org/bash/ (Under bash Tips and Tricks) One other good cd trick: # Shamelessly stolen from Learning the Bash Shell (3ed), Cameron Newham # & Bill Rosenblatt my_cd() { case "$#" in 0|1) builtin cd $1 ;; 2) newdir=${PWD//$1/$2}…
……就是我在 OmniFocus 里给“项目”起名字的方式。比如,我以前会写“好好学学怎么用 bash”。呃,这到底啥意思?什么时候才算做完?永远做不完。现在,那个项目改名叫“读完《Learning the bash shell》”。瞬间就变得可达成了。等我读完这本书,也许我还想学更多,也许不想了。但至少我知道自己把那个项目搞定了。
…being how I write my "project" name in OmniFocus. For instance, I had "Learn how to use bash properly". Well, what does that mean? When is that finished? It never is. Now, that project is called "Read 'Learning the bash shell'". Immediately, that's attainable. When I've finished reading the book, perhaps I'll want to do more, perhaps I won't. But at least I know that I'll have completed that project.
……一直觉得 O'Reilly 的书很有用。还有……呃,我不太确定 HN 关于资源/链接的版规是怎样的,但这么说吧,你现在直接去搜“Classic Shell Scripting pdf”或者“Learning the Bash Shell pdf”,很快就能在网上找到……
…have always found the O'Reilly books helpful. Also... well I'm not sure what HN's policy is on sources/linking but let's just say that you could search right now for "Classic Shell Scripting pdf" or "Learning the Bash Shell pdf" and find those fairly quickly online...
……完全不用过脑子直接买。其实看了这里几篇推荐《DNS & Bind》的帖子,我直接买了整套大礼包。--- $1 档:Unix in a Nutshell (第4版) sed & awk (第2版) lex and yacc (第2版) Learning the bash Shell (第3版) Linux Pocket Guide (第3版) $8 档:(包含以上全部,外加)bash Cookbook Classic Shell Scripting Learning GNU Emacs (第3版) Unix Power Tools Learning the vi and Vim Editors (第7版…
…no-brainer. In fact on the recommendation of a couple of posts here for DNS & Bind, I bought the whole hog. --- $1: Unix in a Nutshell (4th ed.) sed & awk (2nd ed.) lex and yacc (2nd ed.) Learning the bash Shell (3rd ed.) Linux Pocket Guide (3rd ed.) $8: (all of the above, plus) bash Cookbook Classic Shell Scripting Learning GNU Emacs (3rd ed.) Unix Power Tools Learning the vi and Vim Editors (7th…