Contents at a Glance

About the Author

About the Technical Reviewer

Acknowledgments

Introduction


PART 1   Basic Scripting Techniques

CHAPTER 1 Shell Script Debugging

CHAPTER 2 Standard Function Library

CHAPTER 3 Date and Time Manipulation

CHAPTER 4 Comparisons and Tests

CHAPTER 5 Accepting Command-Line Options, Switches, and Parameters

CHAPTER 6 Testing Variables and Assigning Defaults

CHAPTER 7 Indirect Reference Variables

CHAPTER 8 Shell Process Tree

CHAPTER 9 Data Redirection

CHAPTER 10 Piping Input to read

PART 2   System Interaction and Advanced Techniques

CHAPTER 11 Math from the Shell

CHAPTER 12 cron

CHAPTER 13 Self-Linked Scripts

CHAPTER 14 Throttling Parallel Processes

CHAPTER 15 Command-Line Editing and History

CHAPTER 16 Scripting from the Command Line

CHAPTER 17 Automating User Input with expect

CHAPTER 18 User Input Timeout

CHAPTER 19 Instant Keyboard Response

CHAPTER 20 Directory Copying

CHAPTER 21 A Brief Tour of the X Display Environment

CHAPTER 22 X Navigation Window

CHAPTER 23 Command-Line E-mail Attachments

CHAPTER 24 Text-Processing One-Liners

CHAPTER 25 Editing Files in Place

CHAPTER 26 Evaluating Variables in a Flat File

CHAPTER 27 Read Piped Input

CHAPTER 28 Free-Format Output Using cat

CHAPTER 29 Automating Interactive Processes

PART 3   Useful Scripts

CHAPTER 30 Automating E-mail with procmail

CHAPTER 31 Process-Management Monitor

CHAPTER 32 Managing File Counts

CHAPTER 33 Processes Running from inittab

CHAPTER 34 Automatic RCS

CHAPTER 35 Colorful /proc Reporting

CHAPTER 36 Password-Aging Notification

CHAPTER 37 A Pseudo–shadow File

CHAPTER 38 Linux Gold-System Build

CHAPTER 39 System Snapshots

CHAPTER 40 Removing Large Files and Log Rolling

CHAPTER 41 Core Finder

CHAPTER 42 Network Adapter Failover

APPENDIX A Test Switches

APPENDIX B Special Parameters

APPENDIX C Other Shell-Scripting Resources


INDEX

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.21.229