Classic Shell Scripting Hidden Commands That Unlock the Power of Unix

ISBN-10: 0596005954

ISBN-13: 9780596005955

Edition: 2005

List price: $39.99 Buy it from $19.63
eBook available
30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy


Shell scripting skills never go out of style. It's the shell that unlocks the real potential of Unix. Shell scripting is essential for Unix users and system administrators-a way to quickly harness and customize the full power of any Unix system. With shell scripts, you can combine the fundamental Unix text and file processing commands to crunch data and automate repetitive tasks. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. "Classic Shell Scripting is written to help you reliably navigate these tricky waters. Writing shell scripts requires more than just a knowledge of the shell language, it also requires familiarity with the individual Unix programs: why each one is there, how to use them by themselves, and in combination with the other programs. The authors are intimately familiar with the tips and tricks that can be used to create excellent scripts, as well as the traps that can make your best effort a bad shell script. With "Classic Shell Scripting you'll avoid hours of wasted effort. You'll learn not only write useful shell scripts, but how to do it properly and portably. The ability to program and customize the shell quickly, reliably, and portably to get the best out of any individual system is an important skill for anyone operating and maintaining Unix or Linux systems. "Classic Shell Scripting gives you everything you need to master these essential skills.
Used Starting from $19.63
New Starting from $30.04
eBooks Starting from $31.99
Rent eBooks
Buy eBooks
what's this?
Rush Rewards U
Members Receive:
You have reached 400 XP and carrot coins. That is the daily max!
Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
Sociology Online content $4.95 $1.99
Add to cart
Study Briefs
SQL Online content $4.95 $1.99
Add to cart
Study Briefs
MS Excel® 2010 Online content $4.95 $1.99
Customers also bought

Book details

List price: $39.99
Copyright year: 2005
Publisher: O'Reilly Media, Incorporated
Publication date: 5/26/2005
Binding: Paperback
Pages: 560
Size: 7.00" wide x 9.00" long x 1.25" tall
Weight: 2.024
Language: English

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has been working with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. His experience also includes multiple commercial Unix systems, from Sun, IBM, HP and DEC. He has been working with GNU/Linux systems since 1996. He likes his Macintosh laptop, but it has been commandeered by one of his daughters. Arnold has also been a heavy awk user since 1987, when he became involved with gawk, the GNU project's version of awk. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for awk. He is currently the maintainer of gawk and its documentation. O'Reilly has been keeping him busy: He is author and/or coauthor of the bestselling titles: Unix In A Nutshell, Effective awk Programming, sed & awk, Classic Shell Scripting, and several pocket references.

Nelson Beebe is a long time Unix user and system administrator, and has helped for years on Usenet newsgroups.

Unix History
Software Tools Principles
Getting Started
Scripting Languages Versus Compiled Languages
Why Use a Shell Script?
A Simple Script
Self-Contained Scripts: The #! First Line
Basic Shell Constructs
Accessing Shell Script Arguments
Simple Execution Tracing
Internationalization and Localization
Searching and Substitutions
Searching for Text
Regular Expressions
Working with Fields
Text Processing Tools
Sorting Text
Removing Duplicates
Reformatting Paragraphs
Counting Lines, Words, and Characters
Extracting the First and Last Lines
Pipelines Can Do Amazing Things
Extracting Data from Structured Text Files
Structured Data for the Web
Cheating at Word Puzzles
Word Lists
Tag Lists
Variables, Making Decisions, and Repeating Actions
Variables and Arithmetic
Exit Statuses
The case Statement
Input and Output, Files, and Command Evaluation
Standard Input, Output, and Error
Reading Lines with read
More About Redirections
The Full Story on printf
Tilde Expansion and Wildcards
Command Substitution
Evaluation Order and eval
Built-in Commands
Production Scripts
Path Searching
Automating Software Builds
Enough awk to Be Dangerous
The awk Command Line
The awk Programming Model
Program Elements
Records and Fields
Patterns and Actions
One-Line Programs in awk
User-Defined Functions
String Functions
Numeric Functions
Working with Files
Listing Files
Updating Modification Times with touch
Creating and Using Temporary Files
Finding Files
Running Commands: xargs
Filesystem Space Information
Comparing Files
Extend Example: Merging User Databases
The Problem
The Password Files
Merging Password Files
Changing File Ownership
Other Real-World Issues
The spell Program
The Original Unix Spellchecking Prototype
Improving ispell and aspell
A Spellchecker in awk
Process Creation
Process Listing
Process Control and Deletion
Process System-Call Tracing
Process Accounting
Delayed Scheduling of Processes
The /proc Filesystem
Shell Portability Issues and Extensions
The bash shopt Command
Common Extensions
Download Information
Other Extended Bourne-Style Shells
Shell Versions
Shell Initialization and Termination
Secure Shell Scripts: Getting Started
Tips for Secure Shell Scripts
Restricted Shell
Trojan Horses
Setuid Shell Scripts: A Bad Idea
ksh93 and Privileged Mode
Writing Manual Pages
Files and Filesystems
Important Unix Commands
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.