文档介绍:CYAN yelloW
MAGENTA BLACK
Books for professionals by professionals® The EXPERT’s VOIce® in Linux
Companion
eBook Covering
Available
Pro Bash Programming: Bash
Scripting the GNU/Linux Shell Pro
Dear Reader, Bash Programming
The shell is a programming language! A shell script is as much a program as
anything written in C, Python, or any other programming language. Just
because shell scripts are easier to write doesn’t mean they should take a back-
seat piled programs or other scripting languages.
Author of I wrote Pro Bash Programming to present a tutorial that introduces the shell, Pro
Shell Scripting Recipes: and bash specifically, as a programming language. If you need a program to
A Problem-Solution plish a task on GNU/Linux or any other Unix-type system, I want you
Approach to consider the shell before any other language. If you write a prototype for a
program using the shell, I want you to realize that you don’t need to translate it
to another language.
This book will give you a grounding in programming techniques used in
writing shell programs no matter what your past programming experience. If Bash
you’ve never written puter program before, Pro Bash Programming will
get you started and help you e a proficient shell programmer. If you
have written a few shell programs, this book will take you to the next level and
beyond. It will enable you to do things with the shell you never thought it could
do. If you are already an expert shell programmer, this book will provide insight
into the advanced shell programming, helping you write more, and more effi-
cient, scripts. Programming
Bash is the shell of the Free Software Foundation’s GNU project and is the
standard shell on almost all Linux distributions. It is the shell you probably
use at mand line. It offers programmers many enhancements over the Scripting the GNU/Linux Shell
standard Unix shell. You will find bash on many versio