|
Linux Command Line and Shell Scripting Bible
Covering the most popular Linux shells (such as bash, ash, tcsh, ksh, korn, and zsh), this reference shows how to use commands to create scripts within each shell and demonstrates practical applications for shell scripts (including retrieving information from Web sites and sending automated reports via e-mail). For each shell, the author discusses
the commands available and explains how to use these commands to create scripts that can automate common functions and reports. This reference guides administrators through advanced projects for using shell scripts in real-world applications and features advanced topics such as using a database and Web programming.
Contents:
1
Starting With Linux Shells.2
Getting to the Shell.3
Basic bash Shell Commands.4
More bash Shell Commands.5
Using Linux Environment Variables.6
Understanding Linux File Permissions.7
Working with Editors.8
Basic Script Building.9
Using Structured Commands.10
More Structured Commands.11
Handling User Input.12
Presenting Data.13
Script Control.14
Creating Functions.15
Adding Color to Scripts.16
Introducing sed and gawk.17
Regular Expressions.18
Advanced sed.19
Advanced gawk.20
The ash Shell.21
The tcsh Shell.22
The korn Shell.23
The zsh Shell.24
Using a Database.25
Using the Web.26
Using email.27
Shell Scripts for Administrators.Appendix A
Quick Guide to bash Commands.Appendix B
Quick Guide to sed and gawk Commands.Appendix C
Comparing Shells.
|