Sams Teach Yourself Shell Programming in 24 Hours

Overview

The vast majority of users utilize the Korn Shell or some variant of the Bourne Shell, such as bash. Sams Teach Yourself Shell Programming in 24 Hours covers these shells. It begins with a generalized tutorial of Unix and tools and then moves into detailed coverage of shell programming. Sams Teach Yourself Shell Programming in 24 Hours is one of the best values because it provides readers with more information for less money. This book uses the effective and proven 'Teach Yourself' format to instruct the reader ...

See more details below
Other sellers (Other Format)
  • All (9) from $7.50   
  • New (5) from $22.64   
  • Used (4) from $7.50   
Sending request ...

Overview

The vast majority of users utilize the Korn Shell or some variant of the Bourne Shell, such as bash. Sams Teach Yourself Shell Programming in 24 Hours covers these shells. It begins with a generalized tutorial of Unix and tools and then moves into detailed coverage of shell programming. Sams Teach Yourself Shell Programming in 24 Hours is one of the best values because it provides readers with more information for less money. This book uses the effective and proven 'Teach Yourself' format to instruct the reader how to make their shell work for them. It covers useful information including: managing input/output, manipulating text filters, understanding and debugging shell scripts, creating and utilizing variables, tools, processes, and customizing the shell.

Sams Teach Yourself Shell Programming in 24 Hours is a tutorial aimed at assisting Unix and Linux users to get optimal performance out of their operating system. It shows them how to take control of their systems and work efficiently by har4nessing the power of the shell to solve common problems.

Read More Show Less

Product Details

  • ISBN-13: 9780672323584
  • Publisher: Sams
  • Publication date: 3/15/2002
  • Series: Sams Teach Yourself Series
  • Edition number: 2
  • Pages: 486
  • Sales rank: 874,682
  • Product dimensions: 7.30 (w) x 9.10 (h) x 0.90 (d)

Meet the Author

SRIRANGA VEERARAGHAVAN is a material scientist by training and a software engineer by trade. He has several years of software development experience in C, Java, Perl, and Bourne Shell and has contributed to several books, including Solaris 8: Complete Reference, UNIX Unleashed and Special Edition Using UNIX. Sriranga graduated from the University of California at Berkeley in 1997 and is presently pursuing further studies. He is currently employed in the Server Appliance group at Sun Microsystems, Inc. Before joining Sun, Sriranga was employed at Cisco Systems, Inc. Among other interests, Sriranga enjoys mountain biking, classical music, and playing Marathon with his brother Srivathsa. Sriranga can be reached via e-mail at ranga@soda.berkeley.edu.

Read More Show Less

Table of Contents

(NOTE: Each chapter concludes with a Summary, Questions, and Terms.)

Introduction.

I. Introduction to UNIXand Shell Tools.

Hour 1. Shell Basics.

What Is a Command? What Is the Shell?

Hour 2. Script Basics.

The UNIX System. Shell Modes and Initialization. Getting Help.

Hour 3. Working with Files.

Listing Files. File Contents. Manipulating Files.

Hour 4. Working with Directories.

The Directory Tree. Switching Directories. Listing Files and Directories. Manipulating Directories.

Hour 5. Input and Output.

Output. Input. File Descriptors.

Hour 6. Manipulating File Attributes.

File Types. Owners, Groups, and Permissions.

Hour 7. Processes.

Starting a Process. Listing and Terminating Processes. Parent and Child Processes.

II. Shell Programming.

Hour 8. Variables.

Working with Variables. Environment and Shell Variables.

Hour 9. Substitution.

Filename Substitution (Globbing). Variable Substitution. Command and Arithmetic Substitution.

Hour 10. Quoting.

Quoting with Backslashes. Using Single Quotes. Using Double Quotes. Quoting Rules and Situations.

Hour 11. Flow Control.

The if Statement. The case Statement.

Hour 12. Loops.

The while Loop. The for and select Loops. Loop Control.

Hour 13. Parameters.

Special Variables. Options and Arguments. Option Parsing in Shell Scripts.

Hour 14. Functions.

Using Functions. Understanding Scope, Recursion, Return Codes, and Data Sharing.

Hour 15. Text Filters.

The head and tail Commands. Using grep. Counting Words.

Hour 16. Filtering Text with Regular Expressions.

The Basics of awk and sed. Using sed.

Hour 17. Filtering Text with awk.

What Is awk? Using awk Features.

Hour 18. Other Tools.

The Built-In Commands. The sleep Command. The find Command. xargs. The expr Command. The bc Command.

III. Advanced Topics.

Hour 19. Signals.

How Are Signals Represented? Dealing with Signals.

Hour 20. Debugging.

Enabling Debugging. Using Syntax Checking. Shell Tracing.

Hour 21. Problem Solving with Functions.

Library Basics. Creating a Library.

Hour 22. Problem Solving with Shell Scripts.

Startup Scripts. Maintaining an Address Book.

Hour 23. Scripting for Portability.

Determining UNIX Versions. Techniques for Increasing Portability.

Hour 24. Shell Programming FAQs.

Shell and Command Questions. Variable and Argument Questions. File and Directory Questions.

IV. Appendixes.

Appendix A. Command Quick Reference

Reserved Words and Built-in Shell Commands. Conditional Expressions. Arithmetic Expressions (ksh, bash, and zsh Only). Parameters and Variables. Input/Output. Pattern Matching and Regular Expressions.

Appendix B. Glossary.

Appendix C. Answers to Questions.

Appendix D. Shell Function Library.

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted February 1, 2002

    Complete Useless Book

    This book is confusing with sloppy examples. However in my experience, all the SAMS books belong to this type category. Shell programming examples are not at all helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 2, 2001

    Great Book!!

    This is a great shell programming book to learn the basics. There is a lot of confusion about good, entry level shell books, but this one is good. It is good to know some basics about UNIX first, but overall I would recommend this above all other beginning shell books I've seen.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)