| help | account  


Wicked Cool Shell Scripts: 101 Scripts for Linux, Mac OS X and Unix Systems
View Larger Image
Dave Taylor
No Starch, Paperback, Published January 2004, 341 pages, ISBN 1593270127
List Price: $29.95
Our Price: $18.95
You Save: $11.00 (37% Off)


FREE Shipping on Orders over $40!*
Availability: Out-Of-Stock

Be the First to Write a Review and tell the world about this title!

People who purchase this book frequently purchase:

Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:

Fun and functional Linux, Mac OS X and UNIX shell scripts

The UNIX shell is the main scripting environment of every Linux, Mac OS X and UNIX system, whether a rescued laptop or a million-dollar mainframe. This cookbook of useful, customizable, and fun scripts gives you the tools to solve common Linux, Mac OS X and UNIX problems and personalize your computing environment. Among the more than 100 scripts included are an interactive calculator, a spell checker, a disk backup utility, a weather tracker, and a web logfile analysis tool. The book also teaches you how to write your own sophisticated shell scripts by explaining the syntax and techniques used to build each example scripts. Examples are written in Bourne Shell (sh) syntax.

About the Author

Dave Taylor is a popular writer, teacher and speaker of business and technology issues. The founder of The Internet Mall and iTrack.com, he's been involved with UNIX and the Internet since 1980, having created the popular Elm Mail System. He's also been a Mac fan since the year it was released. Once a Research Scientist at HP Laboratories and Senior Reviews Editor of SunWorld magazine, Taylor has contributed software to the official 4.4 release of Berkeley Unix (BSD). His programs are found in all versions of Linux and other popular Unix variants.


Table of Contents

  • Chapter 1: The Missing Code Library

    Script #1 Finding Programs in the PATH
    Script #2 Validating Input: Alphanumeric Only
    Script #3 Normalizing Date Formats
    Script #4 Presenting Large Numbers Attractively
    Script #5 Validating Integer Input
    Script #6 Validating Floating-Point Input
    Script #7 Validating Date Formats
    Script #8 Sidestepping Poor Echo Implementations
    Script #9 An Arbitrary-Precision Floating-Point Calculator
    Script #10 Locking Files
    Script #11 ANSI Color Sequences
    Script #12 Building a Shell Script Library
    Script #13 Debugging Shell Scripts

  • Chapter 2: Improving on User Commands

    Script #14 Formatting Long Lines
    Script #15 Archiving Files As They’re Removed
    Script #16 Working with the Removed File Archive
    Script #17 Logging File Removals
    Script #18 Displaying the Contents of Directories
    Script #19 Locating Files by Filename
    Script #20 Emulating Another Environment: DIR
    Script #21 Digging Around in the Man Page Database
    Script #22 Displaying the Time in Different Time Zones

  • Chapter 3: Creating Utilities

    Script #23 A Reminder Utility
    Script #24 An Interactive Calculator
    Script #25 Checking the Spelling of Individual Words
    Script #26 Shpell: An Interactive Spell-Checking Facility
    Script #27 Adding a Local Dictionary to Spell
    Script #28 Converting Temperatures
    Script #29 Calculating Loan Payments
    Script #30 Keeping Track of Events

  • Chapter 4: Tweaking Unix

    Script #31 Displaying a File with Line Numbers
    Script #32 Displaying a File with Additional Information
    Script #33 Wrapping Only Long Lines
    Script #34 Emulating GNU-Style Flags with Quota
    Script #35 Making sftp Look More Like ftp
    Script #36 Fixing grep
    Script #37 Working with Compressed Files
    Script #38 Ensuring Maximally Compressed Files (PDF)

  • Chapter 5: System Administration: Managing Users

    Script #39 Analyzing Disk Usage
    Script #40 Reporting Disk Hogs
    Script #41 Figuring Out Available Disk Space
    Script #42 Improving the Readability of df Output
    Script #43 Implementing a Secure Locate
    Script #44 Adding Users to the System
    Script #45 Suspending a User Account
    Script #46 Deleting a User Account
    Script #47 Validating the User Environment
    Script #48 Cleaning Up After Guests Leave

  • Chapter 6: System Administration: System Maintenance

    Script #49 Tracking Set User ID Applications
    Script #50 Setting the System Date
    Script #51 Displaying Which Services Are Enabled
    Script #52 Killing Processes by Name
    Script #53 Validating User crontab Entries
    Script #54 Ensuring That System cron Jobs Are Run
    Script #55 Rotating Log Files
    Script #56 Managing Backups
    Script #57 Backing Up Directories

  • Chapter 7: Web and Internet Users

    Script #58 Calculating Time Spent Online
    Script #59 Downloading Files via FTP
    Script #60 Tracking BBC News with lynx (PDF)
    Script #61 Extracting URLs from a Web Page
    Script #62 Defining Words Online
    Script #63 Keeping Track of the Weather
    Script #64 Checking for Overdue Books at the Library
    Script #65 Digging Up Movie Info from IMDb
    Script #66 Calculating Currency Values
    Script #67 Tracking Your Stock Portfolio
    Script #68 Tracking Changes on Web Pages

  • Chapter 8: Webmaster Hacks

    Script #69 Seeing the CGI Environment
    Script #70 Logging Web Events
    Script #71 Building Web Pages on the Fly
    Script #72 Processing Contact Forms
    Script #73 Creating a Web-Based Photo Album
    Script #74 Building a Guest Book
    Script #75 Creating a Text-Based Web Page Counter
    Script #76 Displaying Random Text

  • Chapter 9: Web and Internet Administration

    Script #77 Identifying Broken Internal Links
    Script #78 Reporting Broken External Links
    Script #79 Verifying Spelling on Web Pages
    Script #80 Managing Apache Passwords
    Script #81 Synchronizing Directories with FTP
    Script #82 Synchronizing to a Remote Directory via FTP
    Script #83 Synchronizing Files with SFTP

  • Chapter 10: Internet Server Administration

    Script #84 Exploring the Apache access_log (PDF)
    Script #85 Understanding Search Engine Traffic
    Script #86 Exploring the Apache error_log
    Script #87 Avoiding Disaster with a Remote Archive
    Script #88 Mirroring a Website
    Script #89 Tracking FTP Usage
    Script #90 Monitoring Network Status
    Script #91 Renicing Tasks by Process Name
    Script #92 Adding New Virtual Host Accounts

  • Chapter 11: Mac OS X Scripts

    Script #93 List NetInfo Users
    Script #94 Adding a User to a Mac OS X System
    Script #95 Adding an Email Alias
    Script #96 Set the Terminal Title Dynamically
    Script #97 Producing Summary Listings of iTunes Libraries
    Script #98 Fixing the Open Command

  • Chapter 12: Shell Script Fun and Games

    Script #99 Unscramble (PDF)
    Script #100 Guess the Word Before It’s Too Late: Hangman
    Script #101 A State Capitals Quiz




Forgot your password?
FAQs
Shipping Options
Returns
Your Orders
Your Account