|
||||||||
Chapter 1: The Missing Code Library - When working with the shell, you're left much more on your own, so this first chapter focuses on various tools and hacks to make shell scripts more friendly, both throughout this book and within your own scripts.Chapters 2 and 3: Improving Commands and Creating Utilities - These two chapters feature new commands that extend and expand Unix in various helpful ways. Indeed, one wonderful aspect of Unix is that it's always growing and evolving, as can be seen with the proliferation of command shells. Chapter 4: Tweaking Unix - This chapter includes both rewrites and front ends to Unix commands to make them a bit friendlier or more consistent with other Unixes. Scripts include a method of adding GNU-style full-word command flags to non-GNU commands and a couple of smart scripts to make working with the various file-compression utilities considerably easier. Chapters 5 and 6: System Administration Tools - These two chapters offer quite a few scripts to improve your life as an admin, including disk usage analysis tools, a disk quota system that automatically emails users who are over their quota, a tool that summarizes which services are enabled regardless of whether you use inetd or xinetd, a killall reimplementation, a crontab validator, a log file rotation tool, and a couple of backup utilities. Chapter 7: Web and Internet Users - This chapter includes a bunch of really cool shell script hacks that show how the Unix command line can offer some wonderful and quite simple methods of working with the Internet, including a tool for extracting URLs from any web page on the Net, a weather tracker, a movie database search tool, a stock portfolio tracker, and a website change tracker with automatic email notification when changes appear. Chapter 8: Webmaster Hacks - If you're a webmaster or an ISP, the scripts in this chapter offer quite interesting tools for building web pages on the fly, processing contact forms, building a web-based photo album, and even the ability to log web searches. Chapters 9 and 10: Web and Internet Administration - These two chapters consider the challenges facing the administrator of an Internet server, including two different scripts to analyze different aspects of a web server traffic log, tools for identifying broken internal or external links across a website, a web page spell-check script, and a slick Apache web password management tool that makes keeping an .htaccess file accurate a breeze. Chapter 11: Mac OS X Scripts - The Macintosh operating system is a tremendous leap forward in the integration of Unix and an attractive, commercially successful graphical user interface. More importantly, because every Mac OS X system includes a complete Unix hidden behind the pretty interface, there are a number of useful and educational scripts that can be written, and that's what this chapter explores. Chapter 12: Fun and Games - This last chapter integrates many of the most sophisticated techniques and ideas in the book to present three fun and challenging games. While entertaining, the code for each is also well worth studying as you read through this last chapter. Download free ebooks for Linux: Wicked Cool Shell Scripts
|
| More free ebooks | |
Operating System
Chapter 1: The Missing Code Library - When working with the shell, you're left much more on your own, so this first chapter focuses on various tools and hacks to make shell scripts more friendly, both throughout this book and within your own scripts.