Cover image for Expert Shell Scripting
Expert Shell Scripting
Title:
Expert Shell Scripting
ISBN:
9781430218425
Personal Author:
Edition:
1st ed. 2009.
Publication Information New:
Berkeley, CA : Apress : Imprint: Apress, 2009.
Physical Description:
320 p. online resource.
Contents:
Basic Scripting Techniques -- Shell Script Debugging -- Standard Function Library -- Date and Time Manipulation -- Comparisons and Tests -- Accepting Command-Line Options, Switches, and Parameters -- Testing Variables and Assigning Defaults -- Indirect Reference Variables -- Shell Process Tree -- Data Redirection -- Piping Input to read -- System Interaction and Advanced Techniques -- Math from the Shell -- cron -- Self-Linked Scripts -- Throttling Parallel Processes -- Command-Line Editing and History -- Scripting from the Command Line -- Automating User Input with expect -- User Input Timeout -- Instant Keyboard Response -- Directory Copying -- A Brief Tour of the X Display Environment -- X Navigation Window -- Command-Line E-mail Attachments -- Text-Processing One-Liners -- Editing Files in Place -- Evaluating Variables in a Flat File -- Read Piped Input -- Free-Format Output Using cat -- Automating Interactive Processes -- Useful Scripts -- Automating E-mail with procmail -- Process-Management Monitor -- Managing File Counts -- Processes Running from inittab -- Automatic RCS -- Colorful /proc Reporting -- Password-Aging Notification -- A Pseudo-shadow File -- Linux Gold-System Build -- System Snapshots -- Removing Large Files and Log Rolling -- Core Finder -- Network Adapter Failover.
Abstract:
System administrators need libraries of solutions that are ingenious but understandable. They don't want to reinvent the wheel, but they don't want to reinvent filesystem management either! Expert Shell Scripting is the ultimate resource for all working Linux, Unix, and OS X system administrators who would like to have short, succinct, and powerful shell implementations of tricky system scripting tasks. Automating small to medium system management tasks Analyzing system data and editing configuration files Scripting Linux, Unix, and OS X applications using bash, ksh, et al.
Added Corporate Author:
Language:
English