Linux and UNIX Shell ProgrammingThis comprehensive book is a practical, easy-to-use guide to programming and using the Bourne shell for beginners and experienced users - the Bourne shell is the standard shell for UNIX, and is also fully backward compatible to the Linux BASH shell. This book will fully illustrate the ability of the shell to unlock the real potential of UNIX and Linux, and aims to get the reader up, running and creating robust shell scripts for real tasks and situations as quickly as possible - shell scripts that will work on any mainstream UNIX or Linux machine. If you are new to UNIX and Linux or if you are a power user in waiting then this book is for you. Most shell programming books merely annotate manual pages and syntax, but in this book users of all abilities will find plenty of practical working examples - all of which are available as full code script via an ftp site - as well as a host of tips, tricks and code one-liners, that will save you time on a day-to-day basis. The book is organized into self-contained chapters on individual topics for ease of reference. |
Contents
File security and permissions | 3 |
Using find and xargs | 21 |
Running commands unattended | 32 |
Shell input and output | 48 |
Command execution order | 64 |
Introducing regular expressions | 71 |
The grep family | 82 |
Introducing awk | 96 |
Control flow structures | 237 |
Shell functions | 291 |
Passing parameters to scripts | 320 |
Creating screen output | 335 |
Creating screen input | 356 |
Debugging scripts | 383 |
Going further with here documents | 395 |
Shell utilities | 405 |
Other editions - View all
Common terms and phrases
References to this book
JUnit Recipes: Practical Methods for Programmer Testing J B Rainsberger,Scott Stirling No preview available - 2005 |