Book description
Learn how to create and develop shell scripts in a step-by-step manner increasing your knowledge as you progress through the book. Learn how to work the shell commands so you can be more productive and save you time.
Table of contents
- Copyright
- Acknowledgements
- Introduction
- The shell
-
Text filtering
-
Introducing regular expressions
- Matching a single character with a period
- Matching a string or character at the beginning of a line with a ^
- Matching a string or character at the end of a line with $
- Matching a single or string of characters with *
- Escaping the meaning of a special character using \
- Matching ranges or sets using []
- Matching a specific number of occurrences with \{ \}
- Conclusion
- The grep family
- Introducing awk
- Using sed
- Merge and divide
- Using tr
-
Introducing regular expressions
- The login environment
-
Basic shell programming
- Introduction to shell scripts
- Conditional testing
- Control flow structures
-
Shell functions
- Declaring functions in a script
- Using functions in a script
- Passing parameters to a function
- Returning from a called function
- Testing the values returned by a function
- Using functions in the shell
- Creating a function file
- Sourcing the file
- Checking the loaded functions
- Executing shell functions
- Calling functions
- Sourcing files is not only for functions
- Conclusion
- Passing parameters to scripts
- Creating screen output
- Creating screen input
- Debugging scripts
- Shell built-in commands
- Better scripting skills
- ASCII chart
- Useful shell commands
Product information
- Title: Linux and Unix Shell Programming
- Author(s):
- Release date: December 1999
- Publisher(s): Pearson Business
- ISBN: 9780201674729
You might also like
book
Shell Programming in Unix, Linux and OS X, Fourth Edition
Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and …
book
Introduction to Unix and Shell Programming
Introduction to Unix and Shell Programming is designed to be an introductory first-level book for a …
book
Linux Shells by Example
The complete guide to bash and tsch—PLUS grep, sed, and gawk! Learn Linux shell programming hands-on! …
book
Linux Server Hacks
A competent system administrator knows that a Linux server is a high performance system for routing …