文档介绍:bash Cookbook ™
Carl Albing, JP Vossen, and Cameron Newham
Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo
bash Cookbook™
by Carl Albing, JP Vossen, and Cameron Newham
Copyright © 2007 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 (safari.). For more information, contact our
corporate/institutional sales department: (800) 998-9938 or ******@.
Editor: Mike Loukides Cover Designer: Karen Montgomery
Production Editor: Laurel . Ruma Interior Designer: David Futato
Copyeditor: Derek Di Matteo Illustrators: Robert Romano and Jessamyn Read
Production Services: Tolman Creek Design
Printing History:
May 2007: First Edition.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. bash Cookbook, the image of a wood turtle, and related trade dress are trademarks
of O’Reilly Media, Inc.
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.
This book uses RepKover™, a durable and flexible lay-flat binding.
ISBN 10: 0-596-52678-4
ISNB 13: 978-0-596-52678-8
[M]
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
1. Beginning bash . . . . . . . . . . .