(ebook - pdf) linux - teach yourself shell programming in 24 hours.pdf
(
5310 KB
)
Pobierz
Teach Yourself Shell Programming in 24 Hours
Sams Teach Yourself Shell Programming in 24 Hours
Index
Table of Contents
Sams Teach Yourself Shell Programming in 24 Hours
Copyright
Introduction
l
How This Book Is Organized
l
Conventions Used in This Book
l
About the Author
l
Dedication
l
Acknowledgments
Part I Introduction to UNIX and Shell Tools
Hour 1: Shell Basics
l
What Is a Command?
l
What Is the Shell?
l
Summary
l
Questions
l
Terms
Hour 2: Script Basics
l
The UNIX System
l
Shell Initialization
l
Getting Help
l
Summary
l
Questions
l
Terms
Hour 3: Working with Files
l
Listing Files
l
Viewing the Content of a File
l
Manipulating Files
l
Summary
l
Questions
l
Terms
Hour 4: Working With Directories
l
The Directory Tree
l
Switching Directories
l
Listing Files and Directories
l
Manipulating Directories
l
Summary
l
Questions
Hour 5: Manipulating File Attributes
l
File Types
l
Owners, Groups, and Permissions
l
Summary
l
Questions
Hour 6: Processes
l
Starting a Process
l
Listing Running Processes
l
Killing a Process (kill Command)
l
Parent and Child Processes
l
Summary
l
Questions
l
Terms
Part II Shell Programming
Hour 7: Variables
l
Defining Variables
l
Unsetting Variables
l
Environment Variables
l
Summary
l
Questions
l
Terms
Hour 8: Substitution
l
Filename Substitution (Globbing)
l
Variable Substitution
l
Command and Arithmetic Substitution
l
Summary
l
Questions
Hour 9: Quoting
l
Quoting with Backslashes
l
Using Single Quotes
l
Using Double Quotes
l
Quoting Rules and Situations
l
Summary
l
Questions
l
Terms
Hour 10: Flow Control
l
The if Statement
l
The case Statement
l
Summary
l
Questions
Hour 11: Loops
l
The while Loop
l
The for and select Loops
l
Loop Control
l
Summary
l
Questions
l
Terms
Hour 12: Parameters
l
Special Variables
l
Options and Arguments
l
Option Parsing in Shell Scripts
l
Conclusion
l
Questions
Hour 13: Input/Output
l
Output
l
Input
l
File Descriptors
l
Summary
l
Questions
l
Terms
Hour 14: Functions
l
Creating and Using Functions
l
Sharing Data Between Functions, an Example
l
Conclusion
l
Questions
Hour 15: Text Filters
l
The head and tail Commands
l
Using grep
l
Counting Words
l
Summary
l
Questions
Hour 16: Filtering Text Using Regular Expressions
l
The Basics of awk and sed
l
Using sed
l
Summary
l
Questions
Hour 17: Filtering Text with awk
l
What is awk?
l
Using awk Features
l
Summary
l
Questions
l
Terms
Hour 18: Miscellaneous Tools
l
The eval Command
l
The : Command
l
The type Command
l
The sleep Command
l
The find Command
l
xargs
l
The expr Command
l
The bc Command
l
remsh/rsh/rcmd/remote (Remote Shell)
l
Summary
l
Questions
l
Terms
Part III Advanced Topics
Hour 19: Dealing with Signals
l
How Are Signal Represented?
l
Dealing with Signals
l
Conclusion
l
Questions
Hour 20: Debugging
l
Enabling Debugging
l
Syntax Checking
l
Shell Tracing
l
Summary
l
Questions
Hour 21: Problem Solving with Functions
l
Creating a Library of Functions
l
Useful Functions
l
Summary
l
Questions
l
Terms
Hour 22: Problem Solving with Shell Scripts
l
Moving Directories
l
Maintaining an Address Book
l
Summary
l
Questions
l
Terms
Hour 23: Scripting for Portability
l
Determining UNIX Versions
l
Techniques for Increasing Portability
l
Summary
l
Questions
l
Terms
Hour 24: Shell Programming FAQs
l
Shell and Command Questions
l
Variable and Argument Questions
l
File and Directory Questions
l
Summary
Part IV Appendixes
Appendix A: Command Quick Reference
Plik z chomika:
zachs17
Inne pliki z tego folderu:
Konfiguracja.rar
(11596 KB)
ReallyUsefulEbooks.net_0596526784_OReilly.bash.Cookbook.May.2007.eBook-BBL.pdf
(3237 KB)
Programowanie w powloce Bourne'a.pdf
(134 KB)
polecenia_linux.pdf
(212 KB)
O'Reilly-Understanding_The_Linux Kernel_3rd.pdf
(10789 KB)
Inne foldery tego chomika:
BIOS
LABORATORIA UwB
prezentacja
Systemy Operacyjne - Rafa- Grzybowski
William Stallings (Prentice Hall) 69 SYSTEMY OPERACYJNE. PODRęCZNIK AKADEMICKI. SZKOłA PROGRAMOWANI
Zgłoś jeśli
naruszono regulamin