rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780079137906

Unix Shell Programming Tools

by
  • ISBN13:

    9780079137906

  • ISBN10:

    0079137903

  • Format: Paperback
  • Copyright: 1999-02-01
  • Publisher: McGraw-Hill Osborne Media
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99

Summary

Provides a one-step all inclusive resource that demonstrates how to utilize shell programming to maximize the effectiveness of the UNIX server/ environment. Covers all the tools you need, and provides clear advice on how to create programs that perform the tasks you need them to. Softcover. CD-ROM included.

Author Biography

David Medinets, the author or co-author of twelve books, including Perl 5 By Example (published by Que), has been working on UNIX systems since 1980. He is the founder and president of Eclectic Consulting.

Table of Contents

Code Listings xi(6)
Introduction xvii
01 Playing with Shells
1(16)
Exploring Access Permissions
3(1)
Running a Shell Script
4(2)
Exploring Shell Programming
6(1)
Counting Shells
7(1)
Exploring Shell Features
8(6)
The Shell/Perl/Tcl Bridge
14(1)
Summary
15(2)
02 Variables and Operators
17(34)
Variable Substitution
23(4)
Position Variables
27(2)
Process Variables
29(2)
Bash Quoting Rules
31(1)
Operators
32(5)
Expression Substitution
37(1)
Standard Shell Variables
38(6)
Variable Affecting Commands
44(5)
Summary
49(2)
03 Procedures
51(12)
Using Variables Inside Procedures
55(2)
The shift Command
57(1)
Creating Local Procedure Variables
58(2)
Returning Values From Procedures
60(1)
Summary
60(3)
04 Script Execution Commands
63(28)
The exit Command
65(1)
The trap Command
66(8)
The if Command
74(2)
The case Command
76(1)
The for Statement
77(5)
The while Command
82(3)
The until Command
85(1)
The break Command
86(2)
The continue Command
88(1)
Summary
89(2)
05 Controlling the Shell
91(36)
Creating Command Lists
92(1)
Creating Compound Commands
93(4)
Redirecting Input/Output
97(12)
Reading Input
109(4)
Using the "-" File
113(1)
Using Device Files
114(2)
Using Exec
116(2)
Using Eval
118(2)
Using Background Processes
120(3)
Summary
123(4)
06 Using Perl
127(66)
The Features of Perl
129(1)
Introduction to Perl
130(2)
Variables in Perl
132(4)
Using Static Information
136(3)
Using Backticked Strings
139(1)
Using Statements
139(25)
Using Files
164(4)
Special Variables
168(10)
Objects
178(5)
Using Modules
183(6)
Summary
189(4)
07 Using Tcl/Tk
193(40)
The Features of Tcl
194(2)
Introduction to Tcl
196(3)
Understanding Substitution Concepts
199(3)
Understanding Grouping Concepts
202(3)
Data Structures
205(3)
Using Statements
208(19)
Using Files
227(2)
Beyond the Shell
229(2)
Summary
231(2)
08 Pattern Matching
233(60)
Bash
235(6)
Perl
241(8)
The Binding Operators (=~ and !~)
249(33)
Tcl
282(7)
Summary
289(4)
09 Examining the Tools
293(122)
The basename Command
297(1)
The cat Command
298(2)
The cksum Command
300(2)
The clear Command
302(1)
The col Command
302(1)
The cp Command
303(3)
The csplit Command
306(4)
The cut Command
310(3)
The date Command
313(3)
The diff Command
316(3)
The echo Command
319(2)
The env Command
321(1)
The expr Command
322(3)
The eval Command
325(1)
The false Command
326(1)
The fgrep Command
326(1)
The find Command
326(14)
The grep Command
340(6)
The groff Command
346(10)
The head Command
356(1)
The info Command
357(1)
The join Command
358(4)
The kill Command
362(1)
The less Command
363(1)
The man Command
364(1)
The mv Command
365(2)
The nl Command
367(1)
The ps Command
368(4)
The pstree Command
372(3)
The read Command
375(1)
The rm Command
376(1)
The sort Command
377(6)
The split Command
383(1)
The strings Command
384(2)
The tail Command
386(2)
The tee Command
388(2)
The test Command
390(6)
The tr Command
396(5)
The true Command
401(1)
The tty Command
401(1)
The type Command
402(1)
The uname Command
403(1)
The uniq Command
404(2)
The wc Command
406(1)
The who Command
407(2)
The write Command
409(1)
The xargs Command
410(3)
Summary
413(2)
10 Portability Issues
415(28)
Command Equivalents Between Scripting Languages
423(7)
Portability Across Platforms
430(11)
Summary
441(2)
11 Debugging Concepts
443(30)
Syntax Errors
444(5)
Runtime Errors
449(2)
Meltdowns
451(1)
Debugging Techniques
451(9)
Debugging Tools
460(11)
Summary
471(2)
12 Customizing the Tools
473(58)
A Better find Command
474(5)
A Better write Command
479(13)
A "Safe" delete Command
492(3)
A Limited-Use Login Shell
495(5)
What is the User's First Name?
500(4)
Creating Proper Capitalization
504(4)
Useful Information, Tips, and Warnings
508(1)
Counting Files
509(1)
The replace Command
510(19)
Summary
529(2)
Appendix A Internet Resources 531(6)
Usenet Newsgroups 532(1)
Web Sites 533(3)
Internet Relay Chat (IRC) 536(1)
Appendix B The ASCII Table 537(12)
Index 549

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program