Flylib.com
Wicked Cool Shell Scripts
Wicked Cool Shell Scripts
ISBN: 1593270127
EAN: 2147483647
Year: 2004
Pages: 150
Authors:
Dave Taylor
BUY ON AMAZON
Table of Contents
BackCover
Wicked Cool Shell Scripts - 101 Scripts for Linux, Mac OS X, and Unix Systems
Introduction
What Is a Shell Script, Anyway?
Which Shell?
Organization of This Book
The Website
Acknowledgments
Finally ...
Chapter 1: 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
Chapter 2: 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
Chapter 3: Creating Utilities
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
Chapter 4: 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
Chapter 5: 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
Chapter 6: System Administration: System Maintenance
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
Chapter 7: 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
Chapter 8: 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
Chapter 9: Web and Internet Administration
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
Chapter 10: Internet Server Administration
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
Chapter 11: 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
Chapter 12: 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
Index_A
Index_B
Index_C
Index_D
Index_E
Index_F
Index_G
Index_H
Index_I
Index_K
Index_L
Index_M
Index_N
Index_O
Index_P
Index_Q
Index_R
Index_S
Index_T
Index_U
Index_V
Index_W
Index_X
Index_Z
List of Figures
List of Tables
Wicked Cool Shell Scripts
ISBN: 1593270127
EAN: 2147483647
Year: 2004
Pages: 150
Authors:
Dave Taylor
BUY ON AMAZON
Lotus Notes and Domino 6 Development (2nd Edition)
Designing Forms
Working with Tables
Writing Field Formulas
Real-World Example 4: Useful JavaScript Utilities
Enhancing Domino Applications for the Web
Secure Programming Cookbook for C and C++: Recipes for Cryptography, Authentication, Input Validation & More
Converting Between Time Zones
Managing Data with Containers
Introduction
Miscellaneous
Introduction
Managing Enterprise Systems with the Windows Script Host
Registry Operations
Regular Expressions
Application Automation
Data Access
Internet Information Server
Special Edition Using Crystal Reports 10
Using the Report Creation Wizards
Approaching the Project
Java Reporting Components
Differences with the Java Reporting Engine
Implementing the Page Viewer
AutoCAD 2005 and AutoCAD LT 2005. No Experience Required
Getting to Know AutoCAD
Setting Up a Drawing
Grouping Objects into Blocks
Managing External References
Printing an AutoCAD Drawing
MPLS Configuration on Cisco IOS Software
Command Reference
RIPv1 PE-CE Routing Configuration and Verification
Implementing Route-Reflectors in MPLS VPN Networks
Case Study-Multi-Homed Inter-AS Provider Network
Case Study 3: Implementing Layer 2 VPNs over Inter-AS Topologies Using Layer 2 VPN Pseudo-Wire Switching
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies