Sams Teach Yourself Shell Programming in 24 Hours
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.
- Paperback | 504 pages
- 189 x 234 x 26mm | 834g
- 25 Mar 2002
- Pearson Education (US)
- Sams Publishing
- Indianapolis, United States
- 2nd edition
Other books in this series
29 May 2009
01 Jul 2008
16 Oct 2012
20 Nov 2009
30 Nov 2012
19 Dec 2013
25 Apr 2012
06 Jan 2014
18 Sep 2014
25 Jun 2005
08 Dec 2012
20 Jan 2012
21 Sep 2003
12 May 2003
29 Oct 2009
20 Feb 2004
18 Jan 2009
Back cover copy
"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.
Table of contents
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.
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.
About Sriranga Veeraraghavan