Showing posts with label Shell Scripting. Show all posts
Showing posts with label Shell Scripting. Show all posts

Saturday, February 7, 2009

Shell Scripting Primer

0 comments
Click here to download : Shell Scripting Primer

Shell Scripting Primer
Open Source Scripting & Automation

Contents
Introduction 
Chapter  Shell Script Basics
Chapter  Result Codes, Subroutines, Scoping, and Sourcing
Chaining Execution
Chapter  Paint by Numbers
Chapter  How AWK-ward
Chapter  Designing Scripts for Cross-Platform Deployment
Chapter  Advanced Techniques
Chapter  Performance Tuning
Appendix A Other Tools and Information
Appendix B An Extreme Example: The Monte Carlo (Bourne) Method for Pi
Table - Special shell variables
Table - Cursor and scrolling manipulation escape sequences
Table - Attribute escape sequences
Table - Color escape sequences
Table - Other escape codes
Listing - A simple one-second timing loop
Listing - Installing a signal handler trap
Listing - Ignoring a signal
Listing - ipc.sh: Script interprocess communication example, part  of 
Listing - ipc.sh: Script interprocess communication example, part  of 
Listing - Columnar printing using printf
Listing - Truncating text to column width
Listing - Obtaining terminal size using stty or tput
Listing - Using ANSI color
Listing - Setting tab stops
Chapter  Performance Tuning
Table - Performance (in seconds) impact of duplicating common code to avoid redundant
tests
Table - Performance (in seconds) comparisons of  executions of various control
statement sequences
Table - Performance (in seconds) of  iterations, performing each computation once
or twice
Table - Relative performance (in seconds) of  iterations of the echo builtin and the
echo command
Table - Relative performance (in seconds) of  iterations of shell math, expr, and bc
Table - Relative performance (in seconds) of different use cases for sed
Listing - A binary search version of the Bourne shell ord function

Advanced Bash-Scripting Guide

0 comments
Click here to get: Advanced_Bash-Scripting_Guide

Chapter  Why Shell Programming?
Chapter  Starting Off With a Sha-Bang
Chapter  Special Characters
Chapter  Introduction to Variables and Parameters
Chapter  Quoting
Chapter  Exit and Exit Status
Chapter  Tests
Chapter  Operations and Related Topics
Part  Beyond the Basics
Chapter  Variables Revisited
Chapter  Loops and Branches
Chapter  Command Substitution
Chapter  Arithmetic Expansion
Chapter  Recess Time
Part  Commands
Chapter  Internal Commands and Builtins
Chapter  External Filters, Programs and Commands
Chapter  System and Administrative Commands
Part  Advanced Topics
Chapter  Regular Expressions
Chapter  Here Documents
Chapter  I/O Redirection
Chapter  Subshells
Chapter  Restricted Shells
Chapter  Process Substitution
Chapter  Functions
Chapter  Aliases
Chapter  List Constructs
Chapter  Arrays
Chapter  /dev and /proc
Chapter  Of Zeros and Nulls
Chapter  Debugging
Chapter  Options
Chapter  Gotchas
Chapter  Scripting With Style
Chapter  Miscellany
Appendix A Contributed Scripts
Appendix B Reference Cards
Appendix C A Sed and Awk Micro-Primer
Appendix D Exit Codes With Special Meanings
Appendix E A Detailed Introduction to I/O and I/O Redirection
Appendix F Command-Line Options
Appendix G Important Files
Appendix H Important System Directories
Appendix I Localization
Appendix J History Commands
Appendix K A Sample bashrc File
Appendix L Converting DOS Batch Files to Shell Scripts
Appendix M Exercises
Appendix N Revision History
Appendix O Mirror Sites
Appendix P To Do List
Appendix Q Copyright
Appendix R ASCII Table

Shell Scripting by Hamish Whittal

0 comments

Shell Scripting by Hamish Whittal 
Table of Contents

The who command
The w Command
The "date" command
The 'echo' command
File Commands
System Commands
Unamed Pipes
The job of the shell
Command Interpreter
Using sed and pipes
Different types of tests
Running commands in the background using &
Traps and signals
Signals
Traps
Exercises:
File descriptors re-visited
Exercises
Here documents
Exercises
Functions
Exercises:
Challenge sequence
A Writing html pages
B An introduction to dialog
C A Comparisson of bash, tsch and ksh

moreeeee........

Beginning Portable Shell Scripting From Novice to Professional

0 comments
Click here to download:Beginning Portable Shell Scripting From Novice to Professional

Beginning Portable Shell Scripting: From Novice to Professional
Chapter 1 Introduction to Shell Scripting
CHAPTER 2 Patterns and Regular Expressions
Chapter 3 Basic Shell Scripting
Chapter 4 Core Shell Features Explained
Chapter 5 Shells Within Shells
Chapter 6 Invocation and Execution
CHAPTER 7 Shell Language Portability
CHAPTER 8 Utility Portability
CHAPTER 9 Bringing It All Together
CHAPTER 10 Shell Script Design
CHAPTER 11 Mixing and Matching
Appendix A The Shell Command Language
Appendix B The sh Utility
Appendix C Regular Expressions