CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 01 Aug 2025 15:23:34 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090629182858
location: https://web.archive.org/web/20090629182858/https://oreilly.com/catalog/9780596009656/
server-timing: captures_list;dur=0.662377, exclusion.robots;dur=0.025664, exclusion.robots.policy;dur=0.010876, esindex;dur=0.014311, cdx.remote;dur=17.545540, LoadShardBlock;dur=372.394177, PetaboxLoader3.datanode;dur=104.529043, PetaboxLoader3.resolve;dur=126.999180
x-app-server: wwwb-app212
x-ts: 302
x-tr: 425
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app212; 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: Fri, 01 Aug 2025 15:23:35 GMT
content-type: text/html
x-archive-orig-date: Mon, 29 Jun 2009 18:28:35 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: Mon, 29 Jun 2009 09:33:11 GMT
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 39928
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: iso-8859-1
memento-datetime: Mon, 29 Jun 2009 18:28:58 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 09 May 2008 08:04:05 GMT", ; rel="prev memento"; datetime="Fri, 22 May 2009 07:41:38 GMT", ; rel="memento"; datetime="Mon, 29 Jun 2009 18:28:58 GMT", ; rel="next memento"; datetime="Sat, 04 Jul 2009 08:16:09 GMT", ; rel="last memento"; datetime="Wed, 02 Oct 2024 12:45:45 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: 52_10_20090629180250_crawl100-c/52_10_20090629182734_crawl100.arc.gz
server-timing: captures_list;dur=0.729796, exclusion.robots;dur=0.027949, exclusion.robots.policy;dur=0.012076, esindex;dur=0.014914, cdx.remote;dur=17.885041, LoadShardBlock;dur=352.253058, PetaboxLoader3.datanode;dur=214.377967, PetaboxLoader3.resolve;dur=428.137115, load_resource;dur=355.495484
x-app-server: wwwb-app212
x-ts: 200
x-tr: 838
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
Featured customer reviews
a great task oriented introductory/intermediate guide, June 20 2007
This is a valuable introduction book for the bash shell. The best part of this book for me was all the tasks after each subsection. These tasks are designed to encourage you to think about new commands you just learned. The difficulty level was right-on for me, neither too simple or too hard. These helpful practices are rarely seen in other handbooks. Reading and understanding this book, plus completing the recommended tasks, will get you well on your way to productive bash usage and bash programming.
One disappointment was that the book is not a complete reference. The book covers most useful materials you need to know but not all. If you want a complete reference to the bash shell, skip this one.
I highly recommend this book for people in beginning or intermediate level who want to know bash shell.
maybe a bug in pushd() at 5.1.1, February 12 2006
Submitted by Anonymous Reader [Respond | View]
the pushd() funtion in section 5.1.1:
should it be:
Good and Suggestions, July 28 2005
This book is a good introduction to the bash shell. It is well written and well-edited.
As a serious hobbiest programmer of several languages, I was interested in getting deeper
into the applications of the shell of Linux as an important aspect of learning the overall operating system and gaining the ability to write my own programs both at the GUI level and at the shell or terminal level.
The shell presents a confusing array of arcane syntaxes and symbols that I found difficult
to learn. This book helps sort that out. The shell also throws a group of terminal applications at tasks using the likes of sed, awk, and grep that totally confuse the neophyte. The book only slightly makes a dent in this aspect.
One deficiency is the lack of online sample code that can be downloaded although some typing of your own is always helpful to learning. I went to the 2nd edition site and got what appears to be similar examples.
I actually would like to see more examples and of a greater variety in the book. Some more advanced but still accessible scripts would be useful in the transition from simple code to real applications. Examples more on the line of the debugger code that is given. What do I mean? Well, how about an installation script for software the user might write including installation options and the use or alternative non-use of rpms. Some tips on shaping the environment and configuration for running your programs. How about some internet access via scripts that use wget perhaps in an automated manner for software updates (I know there are applications that do this already). How about extensive file copying and directory creation similar to moving things around with Conqueror or copying from cd's except from the shell. Obviously, this list goes on and on. The author spent an inordinate amount of time with pushd and popd but not one example using tar which is a bread and butter application.
It is a good book that can still be improved.
Media reviews
"Exceptionally well presented, but the reader needs to be motivated to learn shell programming. That is not to say the book is complex and requires some particular background knowledge; shell programming--whether bash or any other of the Unix/Linux shells--is a powerful tool that requires focus. The effort is well worth while, and this is the best from which to start."
-- Major Keary, Book News
"After you read and understand this book, you'll be well on your way to becoming a competent bash shell programmer."
--Ed Schaefer, Unix Review, June 2005
Read all reviews
Learning the bash Shell, Third Edition
Unix Shell Programming
By Cameron Newham, Bill Rosenblatt
March 2005
Pages: 352
ISBN 10: 0-596-00965-8 |
ISBN 13: 9780596009656
(4) (Average of 2 Customer Reviews)
This refreshed edition serves as the most valuable guide yet to the bash shell. It's full of practical examples of shell commands and programs guaranteed to make everyday use of Linux that much easier. Includes information on key bindings, command line editing and processing, integrated programming features, signal handling, and much more!
Full Description
O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an established player both as a server and on the desktop Learning the bash Shell has been updated and refreshed to account for all the latest changes. Indeed, this third edition serves as the most valuable guide yet to the bash shell.
As any good programmer knows, the first thing users of the Linux operating system come face to face with is the shell the UNIX term for a user interface to the system. In other words, it's what lets you communicate with the computer via the keyboard and display. Mastering the bash shell might sound fairly simple but it isn't. In truth, there are many complexities that need careful explanation, which is just what Learning the bash Shell provides.
If you are new to shell programming, the book provides an excellent introduction, covering everything from the most basic to the most advanced features. And if you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. Learning the bash Shell is also full of practical examples of shell commands and programs that will make everyday use of Linux that much easier. With this book, programmers will 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
a great task oriented introductory/intermediate guide, June 20 2007
Rating:




Submitted by
Niu
[Respond | View]




This is a valuable introduction book for the bash shell. The best part of this book for me was all the tasks after each subsection. These tasks are designed to encourage you to think about new commands you just learned. The difficulty level was right-on for me, neither too simple or too hard. These helpful practices are rarely seen in other handbooks. Reading and understanding this book, plus completing the recommended tasks, will get you well on your way to productive bash usage and bash programming.
One disappointment was that the book is not a complete reference. The book covers most useful materials you need to know but not all. If you want a complete reference to the bash shell, skip this one.
I highly recommend this book for people in beginning or intermediate level who want to know bash shell.
maybe a bug in pushd() at 5.1.1, February 12 2006
Submitted by Anonymous Reader [Respond | View]
the pushd() funtion in section 5.1.1:
pushd ( )
{
dirname=$1
if cd ${dirname:?"missing directory name."}
then
DIR_STACK="$dirname ${DIR_STACK:-$PWD' '}"
echo $DIR_STACK
else
echo still in $PWD.
fi
}
should it be:
pushd ( )
{
dirname=$1
oldpwd=$PWD
if cd ${dirname:?"missing directory name."}
then
DIR_STACK="$dirname ${DIR_STACK:-$oldpwd' '}"
echo $DIR_STACK
else
echo still in $PWD.
fi
} ?
Good and Suggestions, July 28 2005
Rating:




Submitted by
linux learner
[Respond | View]




This book is a good introduction to the bash shell. It is well written and well-edited.
As a serious hobbiest programmer of several languages, I was interested in getting deeper
into the applications of the shell of Linux as an important aspect of learning the overall operating system and gaining the ability to write my own programs both at the GUI level and at the shell or terminal level.
The shell presents a confusing array of arcane syntaxes and symbols that I found difficult
to learn. This book helps sort that out. The shell also throws a group of terminal applications at tasks using the likes of sed, awk, and grep that totally confuse the neophyte. The book only slightly makes a dent in this aspect.
One deficiency is the lack of online sample code that can be downloaded although some typing of your own is always helpful to learning. I went to the 2nd edition site and got what appears to be similar examples.
I actually would like to see more examples and of a greater variety in the book. Some more advanced but still accessible scripts would be useful in the transition from simple code to real applications. Examples more on the line of the debugger code that is given. What do I mean? Well, how about an installation script for software the user might write including installation options and the use or alternative non-use of rpms. Some tips on shaping the environment and configuration for running your programs. How about some internet access via scripts that use wget perhaps in an automated manner for software updates (I know there are applications that do this already). How about extensive file copying and directory creation similar to moving things around with Conqueror or copying from cd's except from the shell. Obviously, this list goes on and on. The author spent an inordinate amount of time with pushd and popd but not one example using tar which is a bread and butter application.
It is a good book that can still be improved.
Media reviews
"Exceptionally well presented, but the reader needs to be motivated to learn shell programming. That is not to say the book is complex and requires some particular background knowledge; shell programming--whether bash or any other of the Unix/Linux shells--is a powerful tool that requires focus. The effort is well worth while, and this is the best from which to start."
-- Major Keary, Book News
"After you read and understand this book, you'll be well on your way to becoming a competent bash shell programmer."
--Ed Schaefer, Unix Review, June 2005
Read all reviews
![]() ©2009, 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
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More 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 Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |
More Technology News Ars Technica BBC News - Technology CNET News - Technology Guardian - Technology News Mashable ReadWriteWeb Slashdot TechCrunch Technology Review The New York Times - Technology The Washington Post - Technology Wired News |