Cover of Learning the bash Shell

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.

Mentions per year

20 2007: 0 mentions2008: 0 mentions2009: 1 mention2010: 1 mention2011: 1 mention2012: 0 mentions2013: 0 mentions2014: 0 mentions2015: 0 mentions2016: 2 mentions2017: 1 mention2018: 0 mentions2019: 0 mentions2020: 0 mentions2021: 0 mentions2022: 0 mentions2023: 0 mentions2024: 0 mentions2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • etal · Mar 24, 2009 · Recommends

    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 ” ↗
  • nikcub · Apr 6, 2011 · Recommends

    …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” ↗
  • telemachos · Nov 28, 2010 · Mentions

    …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” ↗
  • jen729w · Jan 15, 2017 · Mentions

    …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” ↗
  • orly_bookz · Nov 17, 2016 · Mentions

    …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” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help