The Linux Command Line and Shell Scripting Bible show how to use the Linux shell command line to directly interface with the Linux system. The book covers several popular shells used on Linux platforms, such as bash, ash, tcsh, ksh, korn, and the zsh shell. Within each shell the book discusses the commands available, and demonstrates how to use these commands to create scripts that can automate common functions and reports. The book also demonstrates practical applications for shell scripts, such as using databases, retrieving information from web sites, and sending automated reports via e-mail.
About the Author
Richard Blum has worked in the IT industry for over 18 years as both a systems and network administrator. During this time he has administered UNIX, Linux, Novell, and Microsoft servers, as well as helps design and maintain a 3,500 user network utilizing Cisco switches and routers. He has used Linux servers and shell scripts to perform automated network monitoring, and has written shell scripts in most of the common Linux shell environments.
Rich has a Bachelors of Science degree in Electrical Engineering, and a Masters of Science degree in Management, specializing in Management Information Systems, from Purdue University. He is the author of several Linux books, including, “Network Performance Open Source Toolkit” (2003, John Wiley & Sons), “Professional Assembly Language Programming” (2005, Wrox), "Professional Linux Programming (2007, Wrox), and "Linux for Dummies, 8th Edition" (2007, Wiley). Rich has also worked as a freelance technical editor and reviewer on several Linux books, and is an online instructor for an Introduction to Linux course that is used by colleges and universities across the US.
Table of Contents: Acknowledgments
Introduction
Part I: The Linux Command Line
· Starting with Linux Shells
· Getting to the Shell
· Basic bash Shell Commands
· More bash Shell Commands
· Using Linux Environment Variables
· Understanding Linux File Permissions
· Working with Editors
Part II: Shell Scripting Basics
· Basic Script Building
· Using Structured Commands
· More Structured Commands
· Handling User Input
· Presenting Data
· Script Control
Part III: Advanced Shell Scripting
· Creating Functions
· Adding Color to Scripts
· Introducing sed and gawk
· Regular Expressions
· Advanced sed
· Advanced gawk
Part IV: Alternative Linux Shells
· The ash Shell
· The tcsh Shell
· The Korn Shell
· The zsh Shell
Part V: Advanced Topics
· Using a Database
· Using the Web
· Using E-Mail
· Shell Scripts for Administrators
Appendix A: Quick Guide to bash Commands
Appendix B: Quick Guide to sed and gawk
Appendix C: Comparing Shells
Index