This book is geared towards any Unix user who doesn’t want to spend time creating or testing shell scripts. Instead, Shell Scripting Recipes dissects and explains over 150 much-needed and practical real-world examples, and then shows the reader how and when to appropriately use them.
Because most scripts found in this book are POSIX (Portable Operating System Interface)-compliant, they are supported by many of the major shell variants, including Bash, ksh and sh, among others. File conversion, system administration, and resource monitoring are just a few of the topics covered in this highly practical shell scripting reference.
Inhaltsverzeichnis
The POSIX Shell and Command-Line Utilities.- Playing with Files: Viewing, Manipulating, and Editing Text Files.- String Briefs.- What’s in a Word?.- Scripting by Numbers.- Loose Names Sink Scripts: Bringing Sanity to Filenames.- Treading a Righteous PATH.- The Dating Game.- Good Housekeeping: Monitoring and Tidying Up File Systems.- POP Goes the E-Mail.- Post Script: More Than an Afterthought.- Screenplay: The screen—funcs Library.- Backing Up the Drive.- Aging, Archiving, and Deleting Files.- Covering All Your Databases.- Home on the Web.- Taking Care of Business.- Random Acts of Scripting.- A Smorgasbord of Scripts.- Script Development Management.
Über den Autor
Chris F.A. Johnson was introduced to Unix in 1990 and learned shell scripting because there was no C compiler on the system. His first major project was a menu-driven, user-extensible database system with report generator. Chris uses the shell as his primary, general-purpose programming language, and his projects have included a member database, menuing system, and POP3 mail filtering and retrieval. Chris is the author of Shell Scripting Recipes: A Problem-Solution Approach (Apress, 2005). When not pushing shell scripting to the limit, he designs and codes web sites, teaches chess, and composes cryptic crosswords.