Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Dave Taylor
Wicked Cool Shell Scripts
Copyright
Introduction
This Book Is for You If . . .
What Is a Shell Script, Anyway?
Which Shell?
Organization of This Book
The Website
Acknowledgments
Finally . . .
THE MISSING CODE LIBRARY
What Is POSIX?
#1 Finding Programs in the PATH
#2 Validating Input: Alphanumeric Only
#3 Normalizing Date Formats
#4 Presenting Large Numbers Attractively
#5 Validating Integer Input
#6 Validating Floating-Point Input
#7 Validating Date Formats
#8 Sidestepping Poor Echo Implementations
#9 An Arbitrary-Precision Floating-Point Calculator
#10 Locking Files
#11 ANSI Color Sequences
#12 Building a Shell Script Library
#13 Debugging Shell Scripts
IMPROVING ON USER COMMANDS
#14 Formatting Long Lines
#15 Archiving Files As They're Removed
#16 Working with the Removed File Archive
#17 Logging File Removals
#18 Displaying the Contents of Directories
#19 Locating Files by Filename
#20 Emulating Another Environment: DIR
#21 Digging Around in the Man Page Database
#22 Displaying the Time in Different Time Zones
CREATING UTILITIES
#23 A Reminder Utility
#24 An Interactive Calculator
#25 Checking the Spelling of Individual Words
#26 Shpell: An Interactive Spell-Checking Facility
#27 Adding a Local Dictionary to Spell
#28 Converting Temperatures
#29 Calculating Loan Payments
#30 Keeping Track of Events
TWEAKING UNIX
#31 Displaying a File with Line Numbers
#32 Displaying a File with Additional Information
#33 Wrapping Only Long Lines
#34 Emulating GNU-Style Flags with Quota
#35 Making sftp Look More Like ftp
#36 Fixing grep
#37 Working with Compressed Files
#38 Ensuring Maximally Compressed Files
SYSTEM ADMINISTRATION: MANAGING USERS
#39 Analyzing Disk Usage
#40 Reporting Disk Hogs
#41 Figuring Out Available Disk Space
#42 Improving the Readability of df Output
#43 Implementing a Secure Locate
#44 Adding Users to the System
#45 Suspending a User Account
#46 Deleting a User Account
#47 Validating the User Environment
#48 Cleaning Up After Guests Leave
SYSTEM ADMINISTRATION: SYSTEM MAINTENANCE
#49 Tracking Set User ID Applications
#50 Setting the System Date
#51 Displaying Which Services Are Enabled
#52 Killing Processes by Name
#53 Validating User crontab Entries
#54 Ensuring That System cron Jobs Are Run
#55 Rotating Log Files
#56 Managing Backups
#57 Backing Up Directories
WEB AND INTERNET USERS
#58 Calculating Time Spent Online
#59 Downloading Files via FTP
#60 Tracking BBC News with lynx
#61 Extracting URLs from a Web Page
#62 Defining Words Online
#63 Keeping Track of the Weather
#64 Checking for Overdue Books at the Library
#65 Digging Up Movie Info from IMDb
#66 Calculating Currency Values
#67 Tracking Your Stock Portfolio
#68 Tracking Changes on Web Pages
WEBMASTER HACKS
Running the Scripts in This Chapter
#69 Seeing the CGI Environment
#70 Logging Web Events
#71 Building Web Pages on the Fly
#72 Processing Contact Forms
#73 Creating a Web-Based Photo Album
#74 Building a Guest Book
#75 Creating a Text-Based Web Page Counter
#76 Displaying Random Text
WEB AND INTERNET ADMINISTRATION
#77 Identifying Broken Internal Links
#78 Reporting Broken External Links
#79 Verifying Spelling on Web Pages
#80 Managing Apache Passwords
#81 Synchronizing Directories with FTP
#82 Synchronizing to a Remote Directory via FTP
#83 Synchronizing Files with SFTP
INTERNET SERVER ADMINISTRATION
#84 Exploring the Apache access_log
#85 Understanding Search Engine Traffic
#86 Exploring the Apache error_log
#87 Avoiding Disaster with a Remote Archive
#88 Mirroring a Website
#89 Tracking FTP Usage
#90 Monitoring Network Status
#91 Renicing Tasks by Process Name
#92 Adding New Virtual Host Accounts
MAC OS X SCRIPTS
#93 List NetInfo Users
#94 Adding a User to a Mac OS X System
#95 Adding an Email Alias
#96 Set the Terminal Title Dynamically
#97 Producing Summary Listings of iTunes Libraries
#98 Fixing the Open Command
SHELL SCRIPT FUN AND GAMES
#99 Unscramble: A Word Game
#100 Guess the Word Before It's Too Late: Hangman
#101 A State Capitals Quiz
Afterword
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Afterword
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset