Learn Bash the Hard Way (Learn Bash the Hard Way)
This book is 100% complete
Completed on 2019-09-25
About the Book
This book takes you through knowledge essential to a mastery of bash. It is divided into four parts:
1) Core Bash
Core foundational concepts essential for understanding bash on the command line.
- pipes and redirects
- scripts and startup
2) Bash Scripting
Gets your bash scripting skills up to scratch.
- command substitution
- exit codes
3) Tips and techniques
A primer on commonly-used techniques and features that are useful to know about.
- the prompts
- here docs
4) Advanced Bash
Building on the first three chapters, and introducing some more advanced features, this chapters takes your bash skills beyond the norm.
- signals and traps
- string manipulation
- a real-world application
VP, Regional Technology Director, CSM at GSW Worldwide
This book is fantastic. Follow the instructions and actually enter all the commands as they happen. Digging into seemingly simple questions really helped me grok everything. I think I'll give one more read to the section on traps, but otherwise I feel so much stronger in my BASH-FU. Do you work in the terminal? Do yourself a favor and read this.
Nice read! #learnbashthehardway Good work @ianmiell
Solution Architect, Red Hat
Really nice read :)
Joe Poser @J_Poser
I use it every day and I'm learning loads. Keep up the good work.
Senior Business Systems Analyst at Intuit
This book has been so valuable to me. I have used bash as needed for a couple years in bit of a haphazard, "just find things that work type way"(not something I am proud of but just being honest). This book provides a great framework for really understanding the topics covered. I do not come from a CS background in school so books like this are what makes it possible for me to do the work I love.
Essential material for anyone starting out in bash.
Learn Bash the Hard Way is a fantastic resource. Wish I had this when I started out. Essential material for anyone starting out in bash.
Learn Bash the Hard Way
Part I - Core Bash
- What is Bash?
- Unpicking the Shell: Globbing and Quoting
- Variables in Bash
- Functions in Bash
- Pipes and redirects
- Scripts and Startups
Part II - Scripting Bash
- Command Substitution and Evaluation
- Exit Codes
- Process Substitution
- Internal Field Separator
Part III - Bash Features
- Terminal Codes and Non-Standard Characters
- The Prompt
- Here Documents
- Bash in Practice
Part IV - Advanced Bash
- Job Control
- Traps and Signals
- Advanced Variables
- String Manipulation
- Debugging Bash Scripts
- Example Bash Script
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.