CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 02 Aug 2025 14:04:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081228042900
location: https://web.archive.org/web/20081228042900/https://oreilly.com/catalog/9781565923478/
server-timing: captures_list;dur=0.581797, exclusion.robots;dur=0.018248, exclusion.robots.policy;dur=0.009242, esindex;dur=0.010293, cdx.remote;dur=63.143920, LoadShardBlock;dur=128.009373, PetaboxLoader3.datanode;dur=82.860580
x-app-server: wwwb-app225
x-ts: 302
x-tr: 222
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 02 Aug 2025 14:04:18 GMT
content-type: text/html
x-archive-orig-date: Sun, 28 Dec 2008 04:28:36 GMT
x-archive-orig-server: Apache
x-archive-orig-p3p: policyref="https://www.oreillynet.com/w3c/p3p.xml",CP="CAO DSP COR CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa CONo OUR DELa PUBi OTRa IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
x-archive-orig-last-modified: Thu, 18 Dec 2008 08:12:07 GMT
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 38601
x-archive-orig-x-cache: MISS from oregano.bp
x-archive-orig-x-cache-lookup: MISS from oregano.bp:3128
x-archive-orig-via: 1.0 oregano.bp:3128 (squid/2.6.STABLE12)
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 28 Dec 2008 04:29:00 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 13 May 2008 02:35:45 GMT", ; rel="prev memento"; datetime="Wed, 10 Dec 2008 16:58:35 GMT", ; rel="memento"; datetime="Sun, 28 Dec 2008 04:29:00 GMT", ; rel="next memento"; datetime="Sun, 28 Dec 2008 15:13:26 GMT", ; rel="last memento"; datetime="Sat, 01 Mar 2025 13:09:07 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_7_20081227163123_crawl104-c/51_7_20081228042350_crawl100.arc.gz
server-timing: captures_list;dur=0.470929, exclusion.robots;dur=0.019275, exclusion.robots.policy;dur=0.009645, esindex;dur=0.010511, cdx.remote;dur=7.673804, LoadShardBlock;dur=157.258885, PetaboxLoader3.datanode;dur=162.802415, PetaboxLoader3.resolve;dur=1198.443012, load_resource;dur=1243.268400
x-app-server: wwwb-app225
x-ts: 200
x-tr: 1468
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Learning the bash Shell | O'Reilly Media
Learning the bash Shell, Second Edition
Featured customer reviews
Learning the bash Shell, 2nd Edition Review, February 28 2004
Reviewer: Germ
Website: https://www.usalug.org
The Book:
Learning the bash Shell
By Cameron Newham, Bill Rosenblatt
334 pages
2nd Edition January 1998
ISBN: 1-56592-347-2
Book Link: https://www.oreilly.com/catalog/bash2/
Code Examples: https://examples.oreilly.com/bash2/
If you are a user of Linux/Unix, sooner or later you will need to use the shell. The Free Software Foundation's "Bourne Again Shell" is the most widely used. Learning the bash Shell Second Edition by Cameron Newman and Bill Rosenblatt is nearly indispensible in order to gain a fantastic working knowledge of the bash shell. The book is geared towards bash 2.0, but is also relevant to bash 1.x.
This book is written for beginners and takes you from the basics all the way to system administration. Even the old pros are likely to learn a trick or two. It covers features of bash all the way to the "wow, I didn't know bash could do that!" level. People have come to expect well written, easy to read, and professional books from O'Reilly and this title is no exception.
Chapter 1 starts with the basics. You will gain knowledge of the directory and file structure, how to install bash as your login shell, and the basics of interactive shell use. The successive chapters will take you all the way to system administration. Each chapter of the book builds on what you have learned in Previous chapters.
Chapter 2 teaches you about command line editing. You can put bash in edit mode and edit command lines just as you would edit text with a text editor.
Chapter 3 tells you how to customize your environment. One of the more useful things to me are aliases. Do you use a lengthy command quite often? Create an alias for that command and give your fingers a rest. The authors tell you how.
Chapter 4 covers basic shell programming. You'll learn how to write and edit shell scripts.
The book continues with coverage of Flow Control, Command Line Options, Input/Output Processing, Process Handling, Debugging, Getting and Installing bash, and Administration. It finishes with some extremely useful appendices covering Related Shells, Reference Lists, Loadable Built-Ins, Systax, and Obtaining Sample Programs.
I am no guru, but I know my way around the CLI and one thing I found especially useful for me is Appendix B. It contains lists of options, built-in commands and variables, and I/O redirections among other commands.
The authors have provided tons of examples from commands to scripts and the major scripts are available for download from O'Reilly at the link above.
If you just want to be confortable using the command line interface or want to go all the way to a working knowledge of writing your own scripts and administering your system or a network, this is the book for you.
It's a must have for anyone using Linux/UNIX. I give Learning the bash Shell 5/5 Big Grins.
Learning the bash Shell, 2nd Edition Review, January 12 2002
I can think of no higher accolade than to say that this book taught me exactly what I needed to know about the bash shell. I plan to make it a required text for the next session of our College's Linux course.
Learning the bash Shell, 2nd Edition Review, July 09 1998
Submitted by Paramesh Banerjee [Respond | View]
I reached Japan, and found myself with the huge task of quickly processing data from more than a thousand, continuously runnung GPS stations since 1996.Each station producing nearly 2MB data each day, I was given hundreds of CDROM to copy data from, to a Linux system, and I was new to these. The task required installation of processing software, produce quality result from the processing, and automate the whole thing . I ran to Tokyo, found an english book shop (a rare commodity in Japan), and came accross this book. Grabbed this book, and few more from OReilly's, returned to Tsukuba. By the next day I was half way through, and on Monday, I was already writing shell scripts, and frantically searching thr the book for proper examples and commands. After 4-5 days, I am more confident, and the scripts are doing these day long processing jobs, while I am writing this piece of note.
Like most of the other OReilly's books, this one also is an easy reading, easy to digest, useful book.
-Paramesh Banerjee
Media reviews "This book is written for beginners and takes you from the basics all the way to system administration. Even the old pros are likely to learn a trick or two. It covers features of bash all the way to the "wow, I didn't know bash could do that!" level. People have come to expect well written, easy to read, and professional books from O'Reilly and this title is no exception...The authors have provided tons of examples from commands to scripts and the major scripts are available for download from O'Reilly...If you just want to be comfortable using the command line interface or want to go all the way to a working knowledge of writing your own scripts and administering your system or a network, this is the book for you...It's a must-have for anyone using Linux/UNIX. I give Learning the bash Shell 5/5 Big Grins."
--USA Linux Users Group, January 2004
https://www.usalug.org/phpBB2/viewtopic.php?p=10423
"I purchased 'Learning the bash Shell' in December of 2000, when I was thrust into a Linux working environment and had no time to learn. From the moment the book arrived from Fatbrain till now, 'Learning the bash Shell' has kept a place no further than arms-length from my computer. No other technical book can say the same. Why have I found this book so useful? Obviously my needs have changed, as I've progressed in skill. Initially, I wanted to feel comfortable on the command line. Later on, I wanted to learn some shell scripting. 'Learning the bash Shell' taught me both."
--Meg Golding, linuxchix.org, May 2002
"I really like this book. To learn bash, you just start at the beginning of the book, read it in the order of its presentation, which is well-organized in a tutorial sequence, and try out all the commands and scripts the book gives as examples."
--Al Stevens, Dr Dobbs Journal, July 2001
Read all reviews
By Cameron Newham, Bill Rosenblatt
January 1998
Pages: 336
ISBN 10: 1-56592-347-2 |
ISBN 13: 9781565923478
(Average of 2 Customer Reviews)
This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.
The latest edition is also available on Safari Books Online.
This second edition covers all of the features of bash Version 2.0, while still applying to bash Version 1.x. It includes one-dimensional arrays, parameter expansion, more pattern-matching operations, new commands, security improvements, additions to ReadLine, improved configuration and installation, and an additional programming aid, the bash shell debugger.
Full Description
The first thing users of the Linux operating system come face to face with is the shell. "Shell" is the UNIX term for a user interface to the system -- something that lets you communicate with the computer via the keyboard and display. Bash, the Free Software Foundation's "Bourne Again Shell," is the default shell for Linux, the popular free UNIX-like operating system. It's also a replacement for the standard UNIX Bourne shell, which serves both as a user interface and as a programming language. Like the FSF's other tools, bash is more than a mere replacement: it extends the Bourne shell in many ways. Features include command line editing, key bindings, integrated programming features, command completion, control structures (especially the select construct, which enables you to create menus easily), and new ways to customize your environment.
Whether you want to use bash for its user interface or its programming features you will find Learning the bash Shell a valuable guide. The book covers all of bash's features, both for interactive use and programming. If you are new to shell programming, Learning the bash Shell provides an excellent introduction, covering everything from the most basic to the most advanced features, like signal handling and command line processing. If you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. The book is full of examples of shell commands and programs that are designed to be useful in your everyday life as a user, not just to illustrate the feature being explained. All of these examples are freely available to you online on the Internet.
This second edition covers all of the features of bash Version 2.0, while still applying to bash Version 1.x. New features include the addition of one-dimensional arrays, parameter expansion, and more pattern-matching operations. bash 2.0 provides even more conformity with POSIX.2 standards, and in POSIX.2 mode is completely POSIX.2 conformant. This second edition covers several new commands, security improvements, additions to ReadLine, improved configuration and installation, and an additional programming aid, the bash shell debugger.
With this book you'll 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
Featured customer reviews
Learning the bash Shell, 2nd Edition Review, February 28 2004
Rating:




Submitted by Germ
[Respond | View]




Reviewer: Germ
Website: https://www.usalug.org
The Book:
Learning the bash Shell
By Cameron Newham, Bill Rosenblatt
334 pages
2nd Edition January 1998
ISBN: 1-56592-347-2
Book Link: https://www.oreilly.com/catalog/bash2/
Code Examples: https://examples.oreilly.com/bash2/
If you are a user of Linux/Unix, sooner or later you will need to use the shell. The Free Software Foundation's "Bourne Again Shell" is the most widely used. Learning the bash Shell Second Edition by Cameron Newman and Bill Rosenblatt is nearly indispensible in order to gain a fantastic working knowledge of the bash shell. The book is geared towards bash 2.0, but is also relevant to bash 1.x.
This book is written for beginners and takes you from the basics all the way to system administration. Even the old pros are likely to learn a trick or two. It covers features of bash all the way to the "wow, I didn't know bash could do that!" level. People have come to expect well written, easy to read, and professional books from O'Reilly and this title is no exception.
Chapter 1 starts with the basics. You will gain knowledge of the directory and file structure, how to install bash as your login shell, and the basics of interactive shell use. The successive chapters will take you all the way to system administration. Each chapter of the book builds on what you have learned in Previous chapters.
Chapter 2 teaches you about command line editing. You can put bash in edit mode and edit command lines just as you would edit text with a text editor.
Chapter 3 tells you how to customize your environment. One of the more useful things to me are aliases. Do you use a lengthy command quite often? Create an alias for that command and give your fingers a rest. The authors tell you how.
Chapter 4 covers basic shell programming. You'll learn how to write and edit shell scripts.
The book continues with coverage of Flow Control, Command Line Options, Input/Output Processing, Process Handling, Debugging, Getting and Installing bash, and Administration. It finishes with some extremely useful appendices covering Related Shells, Reference Lists, Loadable Built-Ins, Systax, and Obtaining Sample Programs.
I am no guru, but I know my way around the CLI and one thing I found especially useful for me is Appendix B. It contains lists of options, built-in commands and variables, and I/O redirections among other commands.
The authors have provided tons of examples from commands to scripts and the major scripts are available for download from O'Reilly at the link above.
If you just want to be confortable using the command line interface or want to go all the way to a working knowledge of writing your own scripts and administering your system or a network, this is the book for you.
It's a must have for anyone using Linux/UNIX. I give Learning the bash Shell 5/5 Big Grins.
Learning the bash Shell, 2nd Edition Review, January 12 2002
Rating:




Submitted by Dave Rogers
[Respond | View]




I can think of no higher accolade than to say that this book taught me exactly what I needed to know about the bash shell. I plan to make it a required text for the next session of our College's Linux course.
Learning the bash Shell, 2nd Edition Review, July 09 1998
Submitted by Paramesh Banerjee [Respond | View]
I reached Japan, and found myself with the huge task of quickly processing data from more than a thousand, continuously runnung GPS stations since 1996.Each station producing nearly 2MB data each day, I was given hundreds of CDROM to copy data from, to a Linux system, and I was new to these. The task required installation of processing software, produce quality result from the processing, and automate the whole thing . I ran to Tokyo, found an english book shop (a rare commodity in Japan), and came accross this book. Grabbed this book, and few more from OReilly's, returned to Tsukuba. By the next day I was half way through, and on Monday, I was already writing shell scripts, and frantically searching thr the book for proper examples and commands. After 4-5 days, I am more confident, and the scripts are doing these day long processing jobs, while I am writing this piece of note.
Like most of the other OReilly's books, this one also is an easy reading, easy to digest, useful book.
-Paramesh Banerjee
Media reviews "This book is written for beginners and takes you from the basics all the way to system administration. Even the old pros are likely to learn a trick or two. It covers features of bash all the way to the "wow, I didn't know bash could do that!" level. People have come to expect well written, easy to read, and professional books from O'Reilly and this title is no exception...The authors have provided tons of examples from commands to scripts and the major scripts are available for download from O'Reilly...If you just want to be comfortable using the command line interface or want to go all the way to a working knowledge of writing your own scripts and administering your system or a network, this is the book for you...It's a must-have for anyone using Linux/UNIX. I give Learning the bash Shell 5/5 Big Grins."
--USA Linux Users Group, January 2004
https://www.usalug.org/phpBB2/viewtopic.php?p=10423
"I purchased 'Learning the bash Shell' in December of 2000, when I was thrust into a Linux working environment and had no time to learn. From the moment the book arrived from Fatbrain till now, 'Learning the bash Shell' has kept a place no further than arms-length from my computer. No other technical book can say the same. Why have I found this book so useful? Obviously my needs have changed, as I've progressed in skill. Initially, I wanted to feel comfortable on the command line. Later on, I wanted to learn some shell scripting. 'Learning the bash Shell' taught me both."
--Meg Golding, linuxchix.org, May 2002
"I really like this book. To learn bash, you just start at the beginning of the book, read it in the order of its presentation, which is well-organized in a tutorial sequence, and try out all the commands and scripts the book gives as examples."
--Al Stevens, Dr Dobbs Journal, July 2001
Read all reviews
Got a Question?
![]() © 2008, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Privacy Policy Contacts Customer Service Authors Press Room Jobs User Groups Academic Solutions Newsletters Writing for O'Reilly RSS Feeds Terms of Service |
Other O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone O'Reilly FYI makezine.com craftzine.com hackszine.com perl.com xml.com |
Sponsored Sites Inside Aperture Inside Lightroom Inside Port 25 InsideRIA java.net |