Szczegóły ebooka

Learning Shell Scripting with Zsh. Your one-stop guide to reading, writing, and debugging  simple and complex Z shell scripts

Learning Shell Scripting with Zsh. Your one-stop guide to reading, writing, and debugging simple and complex Z shell scripts

Gaston Festari

Ebook
  • Learning Shell Scripting with Zsh
    • Table of Contents
    • Learning Shell Scripting with Zsh
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Getting Started
      • Installing zsh
        • Installing on Linux
        • Installing on OS X
        • Compiling from source
      • First run
        • Making zsh your login shell
        • Shell options
        • The startup files
      • The shell prompt
        • The prompt command
        • Customizing the prompt
        • Using escape sequences
          • Shell state options
          • Login information options
          • Directory options
          • Date and time options
          • Text formatting options
        • Conditional expressions
        • Putting it all together
      • Summary
    • 2. Alias and History
      • Working with aliases
        • Quoting characters
        • Single and double quoting aliases
        • Global aliases
        • Hashes
        • Putting it all together
      • Expansion
        • Parameter expansion
        • Command substitution
        • Arithmetic expansion
        • Brace expansion
      • Working with history
        • History expansion
        • History substitution
        • More useful options
      • Summary
    • 3. Advanced Editing
      • Zsh line editor
        • Getting to know ZLE
        • Working with keymaps
        • Basic editing
          • Going back and forth with words
          • Yanking and transposing text
        • Revisiting history
      • Advanced editing
        • ZLE-related options
        • Defining your own keymaps
      • Dont call them widgets
        • Defining your own widgets
          • Special variables
        • Your first function
      • Working with regions
        • Multiline editing
        • Putting it all together
      • Summary
    • 4. Globbing
      • Quoting your strings
        • Double quotes
      • Getting started with Globbing
        • Globbing with the stars
        • Questions for any single character
        • Brackets for a sequence of characters
        • Using safer ranges on your scripts
          • Avoiding characters
        • Handling mismatches
      • Extended Globbing
        • Special patterns
          • Recursive searching
          • Alternate patterns
          • Numeric ranges
          • Revisiting the caret operator
          • The tilde operator
        • Glob qualifiers
          • Timestamp qualifiers
          • File size qualifiers
      • The zmv function
      • Summary
    • 5. Completion
      • Getting started with completion
        • Getting assertive with zstyle
      • Command correction
        • Completers
        • Ignoring matches
      • Function definitions
        • The path of the function
      • Summary
    • 6. Tips and Tricks
      • Main resources
      • Helping tips
        • Directory substitution
        • Magic space
        • Random numbers
        • zcalc
        • Change and list directory contents
        • Finding your path through commands
      • Other projects
        • zsh-lovers
        • zsh-users
        • oh-my-zsh
        • Prezto
        • Explain Shell
        • Your dotfiles
      • Summary
    • Index
  • Tytuł: Learning Shell Scripting with Zsh. Your one-stop guide to reading, writing, and debugging simple and complex Z shell scripts
  • Autor: Gaston Festari
  • Tytuł oryginału: Learning Shell Scripting with Zsh. Your one-stop guide to reading, writing, and debugging simple and complex Z shell scripts.
  • ISBN: 9781783282944, 9781783282944
  • Data wydania: 2014-01-15
  • Format: Ebook
  • Identyfikator pozycji: e_3d0x
  • Wydawca: Packt Publishing