Ratings3
Average rating4.3
Learning the bash Shell, Third Edition, is the definitive guide to bash, the Free Software Foundation's "Bourne Again Shell." It's a freely available replacement for the UNIX Bourne shell, and is the shell of choice for users of Linux, Mac OS X, BSD, and other UNIX systems.
You'll find this guide valuable whether you're interested in bash as a user interface or for its powerful programming capabilities. This book will teach you how to use bash's advanced command-line features, such as command history, command-line editing, and command completion.
This book also introduces shell programming,a skill no UNIX or Linus user should be without. The book demonstrates what you can do with bash's programming features. You'll learn about flow control, signal handling, and command-line processing and I/O. There is also a chapter on debugging your bash programs.
Finally, Learning the bash Shell, Third Edition, shows you how to acquire, install, configure, and customize bash, and gives advice to system administrators managing bash for their user communities.
This Third Edition covers all of the features of bash Version 3.0, while still applying to Versions 1.x and 2.x. It includes a debugger for the bash shell, both as an extended example and as a useful piece of working code. Since shell scripts are a significant part of many software projects, the book also discusses how to write maintainable shell scripts. And, of course, it discusses the many features that have been introduced to bash over the years: one-dimensional arrays, parameter expansion, pattern-matching operations, new commands, and security improvements.
Unfailingly practical and packed with examples and questions for future study, Learning the bash Shell Third Edition is a valuable asset for Linux and other UNIX users.
--back cover
Reviews with the most likes.
Bash agility - fluency on the Unix/Linux terminal - is a super foundational meta-programming skill that I feel like gets short shrift as we all rush towards machine learning and cryptocurrency. Yo, but the stronger your bash fu, the easier your management of remote servers and such. Like, I did this the other day and basically floated away on a rainbow chariot pulled by mighty unicorns:pip freeze > diff - requirements.txt
YES, I AM POWERFUL.
Just like Friedl's book on regular expressions, another clarifying book on an important meta topic, this bash book was SUPER helpful and I wish I had had it in 2014. I literally remember sitting at my desk in Dar es Salaam, staring at OSX Terminal and watching some Coursera course on some tech topic, and marveling at the instructors' bash incantations. Wtf was he doing?
“Is there some structured way to learn about Terminal!?” I thought. I didn't even know it was a shell language called bash! I didn't know shell != bash! Lots of stuff. I WIIISH I had had this then.
Anyway, yes, you can probably pick up these same bash skills by just osmosis over long periods of time. I did - there was a lot in here I had already learned (or had sorta half-known and used anyway), and I think experienced programmers will consider it real (bashy) basic. But if I had a young lady beginning her career transition journey into tech, I would hand her this and the regex book, and the keys to Udacity, and GODSPEED YOUNG MADAM.
And now, for much meta inspiration on people's hardware, editor, and shell choices, here's https://usesthis.com/