
Learning the bash Shell
by Cameron Newham, Bill Rosenblatt · first published 1995
6mentions
2recommended by
6HN commenters
2009–2017first – last mentioned
33% recommend67% neutral
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 programmi
Affiliate links. As an Amazon Associate I earn from qualifying purchases.




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.
on “Command-line Fu ” ↗…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:…
on “Must Read CS Books For Self Self-Taught Programmers” ↗…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}…
on “Some powerful commands for Linux” ↗…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.
on “If you don’t finish then you’re just busy, not productive” ↗…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...
on “You Are Not Paid to Write Code” ↗…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…
on “Humble Book Bundle: Unix” ↗