0%

Book Description

It's simple: you need to know how to work with the bash shell if you want to get to the heart of Mac OS X, Linux, and other Unix systems. Updated for the most recent version of bash, this concise little book puts all of the essential information about bash at your fingertips. You'll quickly find answers to annoying questions that always come up when you're writing shell scripts -- What characters do you need to quote? How do you get variable substitution to do exactly what you want? How do you use arrays? -- and much more.

If you're a user or programmer of any Unix variant, or if you're using bash on Windows, you'll find this pocket reference indispensable. This book covers:

  • Invoking the Shell
  • Syntax
  • Functions
  • Variables
  • Arithmetic Expressions
  • Command History
  • Programmable Completion
  • Job Control
  • Shell Options
  • Command Execution
  • Coprocesses
  • Restricted Shells
  • Built-in Commands

Table of Contents

  1. 1. The Bash Shell
    1. Conventions
    2. History
    3. Overview of Features
    4. Invoking the Shell
      1. Options
      2. Arguments
    5. Syntax
      1. Special Files
      2. Filename Metacharacters
        1. Examples
      3. Brace Expansion
        1. Examples
      4. Quoting
        1. Examples
      5. Command Forms
        1. Examples
      6. Redirection Forms
        1. Simple redirection
        2. Redirection using file descriptors
        3. Multiple redirection
        4. Process substitution
        5. Special filenames
        6. Examples
    6. Functions
    7. Variables
      1. Variable Assignment
      2. Variable Substitution
        1. Examples
      3. Built-in Shell Variables
      4. Other Shell Variables
      5. Arrays
        1. Indexed arrays
        2. Associative arrays
      6. Special Prompt Strings
    8. Arithmetic Expressions
      1. Operators
      2. Examples
    9. Command History
      1. Line-Edit Mode
        1. Common editing keystrokes
      2. The fc Command
        1. Examples
      3. C-Shell–Style History
        1. Event designators
        2. Word substitution
        3. History modifiers
    10. Programmable Completion
      1. Examples
    11. Job Control
    12. Shell Options
    13. Command Execution
    14. Coprocesses
      1. Example
    15. Restricted Shells
    16. Built-in Commands
    17. Resources
      1. Online Resources
      2. Books
    18. Acknowledgments
  2. Index
  3. About the Author
  4. Copyright
3.144.202.167