| < Day Day Up > |
|
Copyright 2005, 1998, 1995 O'Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@oreilly.com.
Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc.
Learning the bash Shell
, the image of a silver bass, and
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. |
| < Day Day Up > |
| < Day Day Up > |
Preface
The first thing users of the UNIX or Linux operating systems come face to face with is the
shell
. "Shell" is the UNIX
Systems are usually set up with a "standard" shell that new users adopt without question. However, some of these standard shells are rather old and lack many features of the
Of the many shells to choose from, this book introduces the Bourne Again shell ( bash for short), a modern general-purpose shell. Other useful modern shells are the Korn shell ( ksh ) and the "Tenex C shell" ( tcsh ); both are also the subjects of O'Reilly handbooks. |
| < Day Day Up > |
| < Day Day Up > |
bash VersionsThis book is relevant to all versions of bash , although older versions lack some of the features of the most recent version. [1] You can easily find out which version you are using by typing echo $BASH_VERSION . The earliest public version of bash was 1.0, and the most recent is 3.0 (released in July 2004). If you have an older version, you might like to upgrade to the latest one. Chapter 12 shows you how to go about it.
|
| < Day Day Up > |
| < Day Day Up > |
Summary of bash Features
bash
is a
bash 's major new features include:
|
| < Day Day Up > |