书籍 Learning the bash Shell的封面

Learning the bash Shell

Cameron Newham

出版时间

2005-03-29

ISBN

9780596009656

评分

★★★★★

标签

编程

书籍介绍

This refreshed edition serves as the most valuable guide yet to the bash shell. It's full of practical examples of shell commands and programs guaranteed to make everyday use of Linux that much easier. Includes information on key bindings, command line editing and processing, integrated programming features, signal handling, and much more!

O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an established player both as a server and on the desktop Learning the bash Shell has been updated and refreshed to account for all the latest changes. Indeed, this third edition serves as the most valuable guide yet to the bash shell. As any good programmer knows, the first thing users of the Linux operating system come face to face with is the shell the UNIX term for a user interface to the system. In other words, it's what lets you communicate with the computer via the keyboard and display. Mastering the bash shell might sound fairly simple but it isn't. In truth, there are many complexities that need careful explanation, which is just what Learning the bash Shell provides. If you are new to shell programming, the book provides an excellent introduction, covering everything from the most basic to the most advanced features. And if you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. Learning the bash Shell is also full of practical examples of shell commands and programs that will make everyday use of Linux that much easier. With this book, programmers will learn:

* How to install bash as your login shell

* The basics of interactive shell use, including UNIX file and directory structures, standard I/O, and background jobs

* Command line editing, history substitution, and key bindings

* How to customize your shell environment without programming

* The nuts and bolts of basic shell programming, flow control structures, command-line options and typed variables

* Process handling, from job control to processes, coroutines and subshells

* Debugging techniques, such as trace and verbose modes

* Techniques for implementing system-wide shell customization and features related to system security

目录
Copyright
Preface
bash Versions
Summary of bash Features
Intended Audience

显示全部
用户评论
bash入门基础
一般...
又一次见证了看书的力量
讲的很有条理,建议配合BASH手册来读。
为了写一个小function而看了这本书的前8章。 感觉写得不错,基本一边看一边写最后也写出来了。看完以后再看别人写的天书一般的script终于能稍微理解一点了。不过我觉得shell script不用深究,只要能看懂大致即可。真需要用到的时候去网上找找就行。
一般,不推荐非cs背景的人。我觉得这个专门讲bash的书,不太适合那些应用bash shell去解决问题的人。比如说我,在实际应用背景下,python可以帮助应付解决很多问题,而且代码真的比shell美很多。当然,我也几乎每天都还在使用bash shell,因为它有些命令很简单,例如提交job时写个loop,当然这些也都可以利用python来完成。我觉得我仍然在使用它的原因在于我很多根深蒂固的肌肉记忆都是基于bash的命令以及相关的工具比如sed and awk。
讲得很容易懂,不过我不喜欢作者说因为有些操作不安全就不要做的观点。因为他给的建议也不安全。
这本书标题中的learning其实不太合适,它更像是本手册。我觉得写的蛮好的,大概是因为我是把它当手册看的吧。59页下面的corollary是错误的,参看图7-1就知道原因了。图7-1非常非常重要。187页那个eval没必要用。
bash 都不会,玩个蛋的计算机。