Learning the Bash Shell by Cameron Newham, Bill Rosenblatt

BUY IT NEW

  • $34.95 Online price
  • $31.45 Member price
  • Join Now
  • skip to cart
  • Add To List uiAction=GetAllLists&page=List&pageType=list&ean=9780596009656&productCode=BK&maxCount=100&threshold=3

Usually ships within 24 hours

FIND & RESERVE AN IN-STORE COPY

Enter a zip code

(Paperback - 3rd ed.)

 
  • Overview
  • Editorial Reviews
  • Customer Reviews
  • Features
  • Full Product Details

Synopsis

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 tothe system -- something that lets you communicate with the computer viathe keyboard and display. Bash, the Free Software Foundation's"Bourne Again Shell," is the default shell for Linux, the popular freeUNIX-like operating system. It's also a replacement for the standardUNIX Bourne shell, which serves both as a user interface and as aprogramming language. Like the FSF's other tools, bash is morethan a mere replacement: it extends the Bourne shell in many ways. Features include command line editing, key bindings, integratedprogramming features, command completion, control structures(especially the select construct, which enables you to create menuseasily), and new ways to customize your environment.

Whether you want to use bash for its user interface or itsprogramming features you will find Learning the bash Shell avaluable guide. The book covers all of bash's features, bothfor interactive use and programming. If you are new to shellprogramming, Learning the bash Shell provides an excellentintroduction, covering everything from the most basic to the mostadvanced features, like signal handling and command line processing.If you've been writing shell scripts for years, it offers a great wayto find out what the new shell offers. The book is full of examplesof shell commands and programs that are designed to be useful in youreveryday life as a user, not just to illustrate the feature beingexplained. All of these examples are freely available to you onlineon the Internet.

This second editioncovers 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. Thissecond 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 anddirectory 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 controlstructures, command-line options and typed variables
  • Process handling, from job control to processes, coroutines andsubshells
  • Debugging techniques, such as trace and verbose modes
  • Techniques for implementing system-wide shell customization andfeatures related to system security

Annotation

This is the definitive guide to the "Bourne Again Shell" (bash). Bash is a modern general purpose UNIX and LINUX shell that incorporates elements of the C and Korn shells. It covers the new commands and features of bash version 2.0, and emphasizes POSIX compliance in POSIX 2.0 mode. This publication is designed for those who have just starting shell programming. The authors guide you from bash installation and command line editing through customization, flow control, process handling and debugging. Along the way, you learn about shell scripts, I/O and command line processing, positional parameters, properties and shell administration. The new features for bash v2.0 are command line editing, bindings, arrays, dynamic loading and integrated programming.

Booknews

A guide to bash, a default shell, or command interpreter, for Linux, a free UNIX-like operating system for PCs. Comprehensively covers bash's features for both interactive use and programming. Annotation c. Book News, Inc., Portland, OR (booknews.com)

More Reviews and Recommendations

Biography

Cameron Newham is an information technology developer living in the United Kingdom. After completing a Bachelor of Science majoring in information technology and geography at the University of Western Australia, Cameron worked for Australian Defence Industries for seven years. He is now an IT contractor based in London. In his spare time Cameron can be found surfing the Internet or working on his project to document buildings of architectural interest in England. He also has more than a passing interest in space science, 3D graphics, synthesizer music, and Depeche Mode.

Bill Rosenblatt is author of the the O'Reilly Nutshell Handbook(R) Learning the Korn Shell; coauthor, with Deb Cameron, of Learning GNU Emacs; and a contributor to UNIX Power Tools. He is director of publishing systems at the Times Mirror Company in New York City and acolumnist in SunWorld Online magazine on the World Wide Web. Bill received a B.S.E. from Princeton University and an M.S. and A.B.D. from the University ofMassachusetts at Amherst, each in some variant of computer science. His interests in the computing field include multimedia databases, electronic publishing, and object-oriented systems. Outside of the computing field, he's interested in jazz, classical music, antique maps, and Sherlock Holmes pastiche novels. Bill lives on the Upper West Side of Manhattan. He wishes his landlord allowed pets so that he could truthfully claim to have a dog and cat with suitably droll names like "Coltrane" and "Ravel."

Customer Reviews

  • Reader Rating:
  • Ratings: 1Reviews: 1

Learning the Bash Shellby Anonymous

Reader Rating:
See Detailed Ratings

April 21, 2005: [A review of the THIRD EDITION 2005.] In the last 10 years, it appears that the shell wars in unix and linux have settled down. With bash being the clear favourite. So if you are going to invest your time learning any shell, perhaps you should go with bash and maybe use this book as a helper. It shows that script writing in bash is pretty simple. If you already know another shell, like csh or Korn, then the ideas carry over and so too would most of the syntax. Along the way, the book teaches you more about your operating system. Especially for managing processes/jobs. My background is as a programmer, so I've never been big on shells and their scripting. But others like you may hark from a sysadmin role and prefer shell activity.